码迷,mamicode.com
首页 >  
搜索关键字:springdata jpa update delete @modifying @query    ( 40547个结果)
How to install SharePoint 2013 on Windows Server 2012 R2
[Update 26.02.2014] Many thanks to everybody commented on this post. As Falk already mentioned in the comments, a Service Pack for SharePoint 2013 has...
分类:Windows程序   时间:2014-08-06 17:41:31    阅读次数:294
删除外键限制记录
Cannot delete or update a parent row: a foreign key constraint fails (`myreview/zmax_text`, CONSTRAINT `zmax_text_ibfk_1` FOREIGN KEY (`lang`) REFEREN...
分类:其他好文   时间:2014-08-06 17:36:52    阅读次数:277
[Spring Data MongoDB]学习笔记--MongoTemplate查询操作
查询操作主要用到两个类:Query, Criteria所有的find方法都需要一个query的object。1. 直接通过json来查找,不过这种方式在代码中是不推荐的。BasicQuery query = new BasicQuery("{ age : { $lt : 50 }, accounts...
分类:数据库   时间:2014-08-06 17:24:51    阅读次数:855
条款八: 写operator new和operator delete时要遵循常规
自己重写operator new时(条款10解释了为什么有时要重写它),很重要的一点是函数提供的行为要和系统缺省的operator new一致。实际做起来也就是:要有正确的返回值;可用内存不够时要调用出错处理函数(见条款7);处理好0字节内存请求的情况。此外,还要避免不小心隐藏了标准形式的new,不...
分类:其他好文   时间:2014-08-06 17:21:01    阅读次数:234
Ubuntu开机报错:could not update ICEauthority file /home/user/.ICEauthority(转载)
解决方法如下:一、 代码:sudo chown $USER:$USER /home/$USER/.ICEauthority sudo chmod 644 /home/$USER/.ICEauthority
分类:其他好文   时间:2014-08-06 17:20:31    阅读次数:241
ubuntu实用技巧 - 安装Oracle JDK
sudo?apt-get?update sudo?apt-get?upgrade sudo?apt-get?install?python-software-properties sudo?add-apt-repository?ppa:webupd8team/java sudo?apt-get?update sudo?apt-get?remove?--purge?...
分类:数据库   时间:2014-08-06 15:07:01    阅读次数:261
sqlite自动更新数据库
写一个类继承自  SQLiteOpenHelper 系统会自动添加构造方法、 onCreate方法、onUpgrade方法 当数据库里面数据或者表结构有所改动时,咱们需要升级数据库 这个时候,版本加1.在update里面做相应修改。 需要注意的是,如果需要测试update,每次开始测试,version 值增大,如果和上次的相同,就不会促发update方法了 下面贴上代码 先是原来的表结...
分类:数据库   时间:2014-08-06 15:00:31    阅读次数:389
《Microsoft Sql server 2008 Internals》读书笔记--第六章Indexes:Internals and Management(1)
《Microsoft Sql server 2008 Internals》索引目录: 《Microsoft Sql server 2008 Internals》读书笔记--目录索引   在第五章主要学习了table的内部存储结构,第七章《Special storage》中将继续深入学习存储机制,那将是本书最难理解的一章。第六章主要介绍index的基础知识,第八章是《query O...
分类:数据库   时间:2014-08-06 14:47:31    阅读次数:336
Nutch源码阅读进程5---update
本文主要介绍nutch的五个环节中的最后一个流程update的具体执行流程。
分类:其他好文   时间:2014-08-06 14:37:51    阅读次数:231
[Spring Data MongoDB]学习笔记--MongoTemplate插入修改操作
插入操作:直接给个例子import static org.springframework.data.mongodb.core.query.Criteria.where;import static org.springframework.data.mongodb.core.query.Criteria...
分类:数据库   时间:2014-08-06 14:30:51    阅读次数:335
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!