You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: HibernateSpringBootBulkUpdates/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
**[How To *Bulk* Updates](https://github.com/AnghelLeonard/Hibernate-SpringBoot/tree/master/HibernateSpringBootBulkUpdates)**
2
2
3
+
<b><ahref="https://persistencelayer.wixsite.com/springboot-hibernate/post/how-to-bulk-updates">If you prefer to read it as a blog-post containing the relevant snippets of code then check this post</a></b>
4
+
3
5
**Description:***Bulk* operations (updates and deletes) are faster than batching, can benefit from indexing, but they have three main shortcomings:
4
6
5
7
-*bulk* updates/deletes may leave the Persistence Context in an outdated state (it's up to you to prevent this issue by flushing the Persistence Context before update/delete and close/clear it after the update/delete to avoid issues created by potentially unflushed or outdated entities)
0 commit comments