how could i speed up when trying to insert thousands row,, i'm using jboss 5, hibernate, entity manager, oracle. i have no idea why when i'm inserting 100.000 rows it takes almost 30 minutes and finally i got an error, for your information i already added
in my persistence.xml, is there anything else i should add?
Sudhir Ravindra wrote:you ds appears fine.
Looking at your stack trace. what exactly is the statement on at ??
Do you have hibernate showsql set to on, is it firing any statements at all to the database?
hi Sudhir Thank you for spend your time to reply my message, anyway in my code line 520 is persisting object, and i dont have hibernate showsql to set on,
and the question is how could i applying or perform hibernate batch insert, because i've been searching on the google but all of the tutorial said just add the
but i don't even see this is as solution for me because when i processed the transaction it's still slow
is it any the different using Session and EntityManager?
help me out Please somebody who knows the answer, because i stuck here..