[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6012) HSQLDialect support for ROWNUM

Fred Toussi (JIRA) noreply at atlassian.com
Mon Jun 27 12:31:53 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42723#action_42723 ] 

Fred Toussi commented on HHH-6012:
----------------------------------

Patch HHH-6370 adds support for ROWNUM() in all modes when used with HSQLDB 2.2.x and above. Please check.


> HSQLDialect support for ROWNUM
> ------------------------------
>
>                 Key: HHH-6012
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6012
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.3.1, 3.3.2, 3.5.0.Beta-1, 3.5.0-Beta-2, 3.5.0-Beta-3, 3.5.0-Beta-4, 3.5.0-CR-1, 3.5.0-CR-2, 3.5.0-Final, 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.6.0.Beta1, 3.6.0.Beta2, 3.5.5, 3.6.0.Beta3, 3.6.0.Beta4, 3.5.6, 3.6.0.CR1, 3.6.0.CR2
>            Reporter: Ondrej Medek
>
> New HSQLDB has a support for Oracel compatibility by:
> SET DATABASE SQL SYNTAX ORA TRUE
> So, the HSQLDB knows ROWNUM. However, I cannot use it in @Formula. Please, add ROWNUM into the HSQLDialect in the same way, as it is in the Oracle9iDialect. E.g. add:
> // Oracle compatibility mode support - SET DATABASE SQL SYNTAX ORA TRUE
> registerFunction( "rownum", new NoArgSQLFunction("rownum", Hibernate.LONG, false) );

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