Reputation: 77
executeInTransaction
calls flush
, not commit
. I did some testing and flush
does persist changes to the database across program runs, which to me is the definition of commit. So what is the difference between these two operations?
Put another way, what would motivate the decision to use flush
over commit
, or vice versa?
Upvotes: 0
Views: 298