-
Bug
-
Resolution: Done
-
Major
-
7.2.0.GA, 7.2.1.GA
-
-
-
-
-
-
+
-
Workaround Exists
-
The code below worked in Hibernate 5.1 and earlier releases
org.hibernate.ejb.HibernateEntityManager em = entityManager.unwrap(org.hibernate.ejb.HibernateEntityManager.class);
In Hibernate 5.3, the same code fails with:
java.lang.ClassCastException: org.hibernate.internal.SessionImpl cannot be cast to org.hibernate.ejb.HibernateEntityManager
at support.hibernate.entity.TestHibernate.test(TestHibernate.java:56)
- is incorporated by
-
JBEAP-16418 (7.2.z) Upgrade Hibernate ORM from 5.3.8 to 5.3.9
- Closed
- incorporates
-
HHH-13281 Loading...
- links to