[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-6870) sysdate function in oracle dialect is a non argu and no parentheses function

Strong Liu (JIRA) noreply at atlassian.com
Thu Dec 1 02:49:20 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Strong Liu resolved HHH-6870.
-----------------------------

    Resolution: Fixed

> sysdate function in oracle dialect is a non argu and no parentheses function
> ----------------------------------------------------------------------------
>
>                 Key: HHH-6870
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6870
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: testsuite
>            Reporter: Strong Liu
>            Assignee: Strong Liu
>            Priority: Minor
>             Fix For: 4.0.0.next
>
>
> test _org.hibernate.test.legacy.SQLFunctionsTest#testDialectSQLFunctions_ fails on oracle due to the sql used in the test is using the function of _sysdate_ wrong.
> _sysdate_ is defined as NonArgu and hasNoParenthesesIfNoArguments, but in the test it used like this 
> {code}
> select s.name, sysdate(), trunc(s.pay), round(s.pay) from Simple s
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list