Reputation: 3568
is it the best option to flush, clear session after a delete/update transaction? Or session.save(deleted/updated instance) would work fine. I mean can save handle deletes and updates? And then batch flush, clear transactions in batch. Or is batch option just to insert into tables?
Upvotes: 1
Views: 793
Reputation: 18423
Hibernate offical doc provides the guide lines for batch processing; you can found them here.
Upvotes: 1