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

Remove calls to getTransaction() in tests for JTA environment

Description

In OgmSessionImpl we have this code:

1 2 3 4 5 6 7 8 9 /** * In ORM 5.2, it is not possible anymore to call getTransaction() in a JTA environment anymore. * * A lot of our shared tests rely on this and we want to keep them working for Neo4j. */ @Override public Transaction getTransaction() { return ( (SharedSessionContractImplementor) delegate ).accessTransaction(); }

We should remove it and make sure to update the tests so that they can work correctly

Environment

None

Status

Assignee

Davide D'Alto

Reporter

Davide D'Alto

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major