Answers for "spring difference between save and saveandflush"

1

spring difference between save and saveandflush

Save may or may not write your changes to the DB straight away. 
When we call saveAndFlush system are enforcing the synchronization of your model state with the DB. 
... 
It doesn't flush data directly to a database until and unless we explicitly call flush and commit method. 
It's flush directly flush data to a database.
Posted by: Guest on November-04-2020

Code answers related to "spring difference between save and saveandflush"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language