码迷,mamicode.com
首页 >  
搜索关键字:could not execute jdbc batch update    ( 36775个结果
Hibernate的配置文件 Hibernate.cfg.xml与xxx.hbm.xml
1、hibernate.cfg.xml配置如下: (数据库连接配置) com.mysql.jdbc.Driver jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEnc...
分类:系统相关   时间:2014-05-10 08:13:33    阅读次数:688
Eclipse使用Ant编译提示Class not found: javac1.8
今天用Ant打包Android,apk,运行出现了batch_build.xml Class not found: javac1.8的错误,后来上网查了一下是Ant版本太低,低于1.9,无法和java1.8兼容,因为我的java运行环境是1.8的,Ant版本也是1.8,所以就只有升级Ant版本了.....
分类:编程语言   时间:2014-05-10 07:43:43    阅读次数:391
Java7与G1
Lucene 4.8开始不支持java6了,所以在下次版本升级之前我们要先升级至java7。 我使用1/3的全量索引(7.3G),进行测试,20并发,40万请求:  sun jdk 1.6.0_26 平均响应时间为9.08ms sun java 7 update 55 平均响应时间为8.29ms 传说中的g1 garbage collector那么高大上,使用G1之...
分类:编程语言   时间:2014-05-10 03:29:28    阅读次数:350
SQL Server MERGE
Merge关键字是一个神奇的DML关键字。它在SQL Server 2008被引入,它能将Insert,Update,Delete简单的并为一句。MSDN对于Merge的解释非常的短小精悍:”根据与源表联接的结果,对目标表执行插入、更新或删除操作。例如,根据在另一个表中找到的差异在一个表中插入、更新...
分类:数据库   时间:2014-05-10 03:16:30    阅读次数:363
2014-05-09 总结
1、mysql_insert_id(): 重新插入一段数据,获取它的ID $id = mysql_insert_id();2、修改数据信息:UPDATE UPDATE `topic` SET `rootid`=$id WHERE id=$id;3、ajax效果: 一个text输入框,在里面输入一个值...
分类:其他好文   时间:2014-05-10 03:08:54    阅读次数:308
Wikilo 1191线段树区间修改单点查询
这题也算比较容易的了。 如果哪个区间已经没有黑色的话,就不用update了,就是因为这个原因WA了2发,唉…… #include #include #include #include #include #include #include #include #include #include #include #include #define PI acos(-1.0) ...
分类:其他好文   时间:2014-05-09 22:55:55    阅读次数:341
SP常用的函数
ASP常用的函数,希望能用的着。 dim db  db="dbms.mdb" '******************************************************************  '执行sql语句,不返回值,sql语句最好是如下:  'update 表名 set 字段名=value,字段名=value where 字段名=value  'dele...
分类:其他好文   时间:2014-05-09 22:35:47    阅读次数:341
是用JDBC从数据库中获取数据并以java对象返回
/** * * @param c * for example Person.class * @param primaryKeys * primaryKeys为主键,参数顺序和表中保持一致 如果id, name 为主键 类名为Person 则 getEntity(Person.class,1,"name") * @return ...
分类:数据库   时间:2014-05-09 21:15:10    阅读次数:422
git-push(1) Manual Page
git-push(1) Manual Page NAME git-push - Update remote refs along with associated objects SYNOPSIS git push [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive...
分类:其他好文   时间:2014-05-09 20:46:06    阅读次数:370
.net IAsyncResult 异步操作
//定义一个委托 public delegate int DoSomething(int count); //BeginInvoke 的回调函数 private static void Execute(IAsyncResult async) ...
分类:Web程序   时间:2014-05-09 19:51:27    阅读次数:422
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!