java.lang.ClassCastException: org.hibernate.internal.SessionImpl cannot be cast to org.hibernate.ejb.HibernateEntityManager

Description

The code below worked in Hibernate 5.1 and earlier releases

In Hibernate 5.3, the same code fails with:

Environment

None

Activity

Show:
Gail Badner
February 25, 2019, 8:17 PM

Fixed in 5.3 branch as well.

Assignee

Chris Cranford

Reporter

Stephen Fikes

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.1.17

Components

Affects versions

Priority

Major
Configure