Audit records are not rolled back when transaction is rolled back

Description

Use case:
1. Start transaction, create and persist some entities, rollback transaction
2. Reuse entityManager to create another transaction
3. Commit this transaction.

Invalid behaviour: audit records from entities created in step 1 are persisted to database even if this transaction was rolled back.

Environment

Hibernate 3.6.6, any database,

Status

Assignee

AdamA

Reporter

Tomasz Dziurko

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

3.6.6

Priority

Major
Configure