Skip to content

Commit caf93f6

Browse files
Bulk updates
1 parent 122c842 commit caf93f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

HibernateSpringBootBulkUpdates/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
**[How To *Bulk* Updates](https://github.com/AnghelLeonard/Hibernate-SpringBoot/tree/master/HibernateSpringBootBulkUpdates)**
22

3+
<b><a href="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+
35
**Description:** *Bulk* operations (updates and deletes) are faster than batching, can benefit from indexing, but they have three main shortcomings:
46

57
- *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

Comments
 (0)