Hi,
I'm processing a huge amount of data in a table. Every dataset which wasn't processed before is loaded, if certain requirements are met, another entity is updated, then the dataset is updated (the processed flag is set to true) and the next dataset is processed.
This all runs into a transaction and after all datasets are processed, I commit the transaction.
I've turned on the SQL-Output of Hibernate and there appear a many updates. It seems to me, that every updated dataset results in an update. I wonder if it wouldn't be better to use bulk updates. Is there a possibility to do this in Hibernate?
TIA,
Thorsten
|