Showing Post From Hibernate
save, saveAndFlush, and REQUIRES_NEW: The Hibernate Questions Hiding in One Spring Service Method
Last week I was reading a teammate’s PR and stopped on a method that made me realise I’d been writing Spring + Hibernate code for years without actually understanding what save, flush, commit, and REQUIRES_NEW each do.
