[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6420) SQL Server dialect is broken (Tomaz Cerar)

Tomaz Cerar (JIRA) noreply at atlassian.com
Mon Jul 11 04:27:16 EDT 2011


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

Tomaz Cerar commented on HHH-6420:
----------------------------------

3.6 works, it has only one bug that SQLServer2008Dialect does not extend SQLServer2005Dialect but plain SQLServerDialect 
in practice this means that you don't get new paging functionalty via row_number, so to get that in 3.6 use 2005 dialect even if you use 2008 sql server...

> SQL Server dialect is broken (Tomaz Cerar)
> ------------------------------------------
>
>                 Key: HHH-6420
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6420
>             Project: Hibernate Core
>          Issue Type: Task
>          Components: query-sql
>    Affects Versions: 4.0.0.Beta3
>         Environment: AS7 hibernate 4 beta1/beta2
> SQL Server 2008 R2
>            Reporter: Tomaz Cerar
>            Assignee: Emmanuel Bernard
>             Fix For: 4.0.0.next
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> SQLServer dialect is broken for boolean fields
> When it tries to create table for entity that has boolean attribute it fails as sql server does not know of type "boolean" it has type bit
> I have created fix for it 
> https://github.com/hibernate/hibernate-core/pull/124
> but I have not tested it on older versions of sql server than 2008

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