We're updating the issue view to help you get more done. 

Place Transaction.wasCommited() back as it was in Hibernate 4.0

Description

In Hibernate 5.0. the ability to intercept event "tx was committed successfully" is completely broken.
There is no 100% working workaround, see for details
https://stackoverflow.com/questions/35612433/hibernate-5-and-transaction-rollback-detection-with-interceptor

Probably adding wasCommited() won't be enough – I don't for sure know whether or not the callback invocation model was broken/changed in 5.0 or not.

Environment

None

Status

Assignee

Unassigned

Reporter

Eugene Voytitsky

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.12

Priority

Major