Sometimes I have a problem, that models working without commiting transaction fail to work when Hibernate commits the data and needs to read it from database.
Is there a possibility for testing to turn off Hibernate caching and work only with database state? Desired would be that when I save the Entity of id=1, then when I want to retrieve it then hibernate should query database.