« Return to Thread: SessionEventListener and Transactions

SessionEventListener and Transactions

by fcalfo :: Rate this Message:

Reply to Author | View in Thread

I'm thinking of using the SessionEventListener to trigger logic that inserts auditing data into a generic auditing table.

If I invoke this logic from the postCalculateUnitOfWorkChangeSet event, will it operate within the same transaction as the entity that is being persisted is operating within?

 « Return to Thread: SessionEventListener and Transactions