In native sql, bind parameter enclosed by function are not accepted
-------------------------------------------------------------------
Key: HHH-2915
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2915
Project: Hibernate3
Issue Type: Bug
Components: query-sql
Affects Versions: 3.2.4
Environment: Oracle 10g
Reporter: Jigar Sutaria
Following query is not working
SELECT cust.id as myId FROM customer cust
WHERE UPPER(cust.first_name) = UPPER( :firstName )
AND UPPER(cust.last_name) = UPPER(:lastName)
But if I change it to following then its working
SELECT cust.id as myId FROM customer cust
WHERE UPPER(cust.first_name) = :firstName
AND UPPER(cust.last_name) = :lastName
--
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