|
I have another change for
HHH-8477
that I think was missed previously in EntityManagerFactoryImpl that caused a class cast exception when we try to cast the not-Hibernate proxy to a Hibernate class. This change is helping me pass some EE tck tests.
Changing addNamedQuery from:
final org.hibernate.Query hibernateQuery = ( (HibernateQuery) query ).getHibernateQuery();
To:
final org.hibernate.Query hibernateQuery = unwrapped.getHibernateQuery();
I'll push this later today.
|