JPA : Support for packageless entity classes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Simple query:
HQLQuery query = new JPAQuery(JPA.em());
Results in:
Execution exception (In /app/controller
NullPointerExce
play.exceptions
at play.mvc.
at Invocation.HTTP Request(Play!)
Caused by: java.lang.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at controllers.
at play.mvc.
at play.mvc.
at play.mvc.
... 1 more
summary: |
- NullPointer in HQLSerializer + JPA : Support for packageless entity classes |
Thanks for the bug report.
The bug resulted from assuming that the handled entity class has a package which it didn't in this case. The HQLSerializer handles now also package-less entity types, although usage of packageless classes is strongly discouraged.