CLONE -Named parameter bug

Description

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

Environment

hibernate 3.0.5 , Oracle

Status

Assignee

Unassigned

Reporter

Dilip Ranjith

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure