change
change

Reputation: 3568

Batch delete, update in Hibernate

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

Answers (1)

Luca Basso Ricci
Luca Basso Ricci

Reputation: 18423

Hibernate offical doc provides the guide lines for batch processing; you can found them here.

Upvotes: 1

Related Questions