摘要: Pipelined 一千条插入一次 SET: 1.648 seconds普通模式Pipelined SET: 43.665 secondsPipelined 一千条插入一次 SET: 2.153 seconds普通模式Pipelined SET: 54.158 secondsPipelined 一千 阅读全文
posted @ 2017-07-13 23:26 kasher 阅读(587) 评论(0) 推荐(0) 编辑
摘要: testSingleInsertAuto:spring自动事务单个插入 testSingleInsert:手动事务单个插入 testBatchInsert:手动事务批量插入 testInsertValues:jdbc拼写sql单个插入 开始测试500条 得到statement对象testSingle 阅读全文
posted @ 2017-07-13 23:22 kasher 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 记录一下这个问题,解决方法是分两种情况, 一种是getCurrentSession();这种情况加入配置:<property name="hibernate.current_session_context_class">thread</property> 一种是:getSession的 在修改操作后 阅读全文
posted @ 2017-07-13 23:16 kasher 阅读(398) 评论(0) 推荐(0) 编辑