[hibernate-issues] [Hibernate-JIRA] Issue Comment Edited: (HHH-5080) NPE when determining types of named parameters
John Aylward (JIRA)
noreply at atlassian.com
Wed Apr 7 15:19:42 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36235#action_36235 ]
John Aylward edited comment on HHH-5080 at 4/7/10 2:18 PM:
-----------------------------------------------------------
Forgot to mention that this query works just fine in Hibernate 3.3.2.GA
was (Author: johnjaylward):
Forgot to mention that this query works just fine in Hibernate 3.4.0.GA
> NPE when determining types of named parameters
> ----------------------------------------------
>
> Key: HHH-5080
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5080
> Project: Hibernate Core
> Issue Type: Bug
> Components: core, query-hql
> Affects Versions: 3.5.0-Final
> Environment: sun java 6.0.19 runtime, hibernate 3.5.0-final using annotations, mysql 5.0.75-0ubuntu10.3
> Reporter: John Aylward
> Attachments: hibernateLog.txt
>
>
> Attached is the relevant hibernate log with the offending query.
> Relevant stack trace:
> java.lang.NullPointerException
> at org.hibernate.hql.ast.ParameterTranslationsImpl.getNamedParameterExpectedType(ParameterTranslationsImpl.java:87)
> at org.hibernate.engine.query.HQLQueryPlan.buildParameterMetadata(HQLQueryPlan.java:320)
> at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:121)
> at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
> at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:98)
> at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
> at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
> at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1760)
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list