]
Jigar Sutaria updated HHH-2915:
-------------------------------
Attachment: customer-db.txt
Simple Database for the project
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
Attachments: customer-db.txt, Project2.rar, tomcat.log, Trace_log.txt
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: