I have some updating DAOs that refer to other updating DAOs. Both the top level and the lower level DAO update the same PU and use the following on their interfaces:
@CommitAfter @PersistenceContext(unitName = "DBUnit") Will the transactions be nested properly, i.e. will the lower levels DAO commit actually occur on the exit of the top level DAOs method exit? I don't want the lower level transaction to be a new and seperate one (it should use the transaction that's already open) because obviosuly that would not synchronize the updates with seperate transactions. John