[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5725) SqlServerDialect should support SQL 2000 which does not support the row_number function

Yoryos Valotassios (JIRA) noreply at atlassian.com
Wed Dec 1 09:34:13 EST 2010


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

Yoryos Valotassios commented on HHH-5725:
-----------------------------------------

Just checked it, yes the major of sql server 2000 version is 8.

> SqlServerDialect should support SQL 2000 which does not support the row_number function
> ---------------------------------------------------------------------------------------
>
>                 Key: HHH-5725
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5725
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.0
>            Reporter: Yoryos Valotassios
>            Assignee: Strong Liu
>
> As a fix to HHH-2655 a patch has been applied to SQLServerDialect that make use of the row_number function for paged results. As I can see from the comments of SQLServerDialect, this dialect should be fine for sql server 2000, but sql server 2000 does not support row_number function.
> There should be a new dialect that extends the SQLServerDialect one which will add support for paged results throw the row_number function.

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