阅读背景:

Hibernate批量插入数据,可以停止吗?

来源:互联网 

I have a situation where I have to do about 25000 insertions in the DB. The primary key is generated using a DB sequence. I can see that first it tries to generate 1000 unique ids and then inserts 1000 records in the DB. Is there a mechanism to stop this ?I have a situation where I have to do about 250




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: