[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3829) hql day not converted propertly when using oracle dialect

Ricardo Mayerhofer (JIRA) noreply at atlassian.com
Tue Mar 24 11:38:38 EDT 2009


hql day not converted propertly when using oracle dialect
---------------------------------------------------------

                 Key: HHH-3829
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3829
             Project: Hibernate Core
          Issue Type: Bug
    Affects Versions: 3.2.6
         Environment: Hibernate 3.2.6.ga
Oracle 10g
            Reporter: Ricardo Mayerhofer


HQL day function is converted to day function when using oracle dialect. Day is not a valid oracle function.

So I get a SQLGrammar exception:
Caused by: java.sql.SQLException: ORA-00904: "DAY": invalid identifier

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