[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2915) In native sql, bind parameter enclosed by function are not accepted
Jigar Sutaria (JIRA)
noreply at atlassian.com
Sun Oct 28 15:24:38 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28602 ]
Jigar Sutaria commented on HHH-2915:
------------------------------------
I have also tried ths same issue with 3.2.5ga production Jar. It has the same error
> 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: 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: 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