| I have recently upgraded to use Hibernate 2.9.Final am upgrading my code to reflect items which are now deprecated. Specifically, I was seeing the following deprecation notice message:
WARN org.hibernate.orm.deprecation : HHH90000017: Found use of deprecated entity-type selector syntax in HQL/JPQL query ['rootAlias.class']; use TYPE operator instead : type(rootAlias)
I have updated my query to use type(rootAlias), and I am seeing a NullPointerException on line 303 in PojoEntityTuplizer. The entityInstance is passed in null from line 70 in DiscriminatorType. I will update this issue when I have a test in a pull request. |