[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1284) Named parameter bug

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:00:26 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-1284.
-------------------------------


Closing stale resolved issues

> Named parameter bug
> -------------------
>
>                 Key: HHH-1284
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1284
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.5
>         Environment: hibernate 3.0.5 , Oracle
>            Reporter: Dilip Ranjith
>
> I tried to excute this query
> select a.timeHrs|| ' : ' ||a.timeMins from CreatedTIme a
> instead of getting a result like this 8:30 iam getting an exception
> org.hibernate.QueryException: Not all named parameters have been set: [] [select a.timeHrs|| ' : ' ||a.timeMins from CreatedTIme a]
> 	at org.hibernate.impl.AbstractQueryImpl.verifyParameters(AbstractQueryImpl.java:115)
> 	at org.hibernate.impl.AbstractQueryImpl.verifyParameters(AbstractQueryImpl.java:102)
> 	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:70)
> the string ' : ' is being taken as a named parameter declaration instead of a string

-- 
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