Hibernate 优化
最好将batch size 设置为一个适当的值一般为30-50,在大量插入的时候停止一级缓存, 否则有可能引起内存溢出,或者每组flush一次,之后清空即可。 在批量更...
注册时间:2007-12-21