Best way to insert a good amount of records in hibernate

前端 未结 5 1387
甜味超标
甜味超标 2020-12-29 10:53

I\'m using hibernate + play! framework at work, is there a \"best practice\" on inserting a good amount of records using hibernate? They are around 6,000 to 10,000 per text

5条回答
  •  感情败类
    2020-12-29 11:01

    You can always get a Connection object directly in case you want to do the inserts outside of hibernate.

    Connection connection = DB.getConnection();
    

提交回复
热议问题