Monday, March 19, 2012

Hibernate HQL view join: java.lang.NullPointerException at org.hibernate.util.ReflectHelper.getConstructor(ReflectHelper.java:234)

https://hibernate.onjira.com/browse/HHH-5621

What worked for me:
"This is a minor issue since an easy workaround is available: you just have to use an alias to qualified the properties....
Query query3 = session.createQuery("select new Something(sthg.id, sthg.event, sthg.dummyField) " +
"from Something sthg" );"

No comments:

Post a Comment