File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Bulk Insert in JPA 2
Joined: May 27, 2010
Jan 18, 2011 05:38:07
How to perform bulk insert in JPA 2..?
Joined: Jan 11, 2015
Jan 11, 2015 13:25:11
There are a few ways to optimize bulk insertion in Hibernate( flush manually, staless sessions, allocate ids instead of fetching everytime, etc). You can check this link for various tips with performance gains measurements:
Visit my blog:
It is sorta covered in the
JavaRanch Style Guide
subject: Bulk Insert in JPA 2
Can you use JPA to import a csv file?
JPA Batch Insert
Scrabble... it only takes a minute...
Sun Certified JPA Developer for the JavaEE6 Platform Beta
EJB3 -> Best optimizzed way for bulk insert ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015