Glassfish/Hibernate save without calling save explicitely <p>I am using Glassfish 2 and container managed persistence with Hibernate 3.2 as persistence provider. I have some finder method in my business logic, which manipulates some persistent entities, which have been fetched via the <code>EntityManager</code>. The manipulation is just changing a <code>String</code> property (deleting an element from a collection leads to the same effect).<br> I do not call anything like <em>save</em> or <em>persist</em> on my <code>EntityManager</code>. I just want to return some changed entities to my client.</p> <p>It seems when the container commits the transaction the changes to my entity are saved automatically. Is there some magic Hibernate or Glassfish behaviour I missed completely so far?</p>