NullPointerException on invalid HQL query with an extra brace
-------------------------------------------------------------
Key: HHH-3123
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3123
Project: Hibernate3
Issue Type: Bug
Components: query-hql
Affects Versions: 3.2.5
Reporter: Geoffrey De Smet
Priority: Trivial
This query:
"select p from IndividueleRekeningKasPO p left join fetch p.irTotalen inner join
fetch p.toegangIndividueleRekeningKas tirkas where tirkas.authorityRef in (:authorityref))
and p.soort = :soort and p.id > 0"
gives a NPE. The strange thing is that this query executes:
"select p from IndividueleRekeningKasPO p left join fetch p.irTotalen inner join
fetch p.toegangIndividueleRekeningKas tirkas where tirkas.authorityRef in (:authorityref))
and p.id > 0"
both are invalid, because there is a closing brace to much in
"(:authorityref))".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira