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

JPA & JTA - java.lang.IllegalStateException: Session/EntityManager is closed when EntityManager is closed with an active Transaction

Description

if after

1 EnityManager#merge()

the EntityManager is closed with an active transaction, when the transaction is committed an

1 java.lang.IllegalStateException: Session/EntityManager is closed

is raised.

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Andrea Boriero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.2
5.2.3

Priority

Major