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