I see different behavior post upgrading spring boot from 1.5 to 2.1
Changes to attached(session) objects are not persisted without calling repository.save(someObject)