Hi, Under what circumstances can a PostUpdate listener create new entities?
I have a set of entities with PostUpdate listeners that create additional records to track changes. In some of my tests this is working correctly (with the transaction managed by a Spring @Transaction on a Struts action) but in others (stripped back to handle the transaction manually) the main entity is created but the related (change tracking) entity is not.
Both cases are using the same code for creating the change tracking entity is identical, and neither explicitly accesses the entity manager to persist it (relying on cascading).
Thanks. Jim
