Reputation: 4341
What are the principles of efficient select'n'update of large sets of objects via Hibernate?
I believe stored procedures or the single update
query could be much more effective than dealing with each object separately but I want no use them now. I'm using Grails 2.2 actually.
Upvotes: 0
Views: 228
Reputation: 26733
Have a look at batch updates, they were designed for exactly this purpose.
Upvotes: 1