[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3401) H2 Database Dialect Fixes

Lars Helge Øverland (JIRA) noreply at atlassian.com
Sat Apr 4 07:28:40 EDT 2009


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

Lars Helge Øverland commented on HHH-3401:
------------------------------------------

A work-around while waiting for the patch to be incorporated in Hibernate would simply be to include this patch in your own application, then change the hibernate.dialect property accordingly. Hibernate would not load this class until the Hibernate configuration is assembled in your application.

> H2 Database Dialect Fixes
> -------------------------
>
>                 Key: HHH-3401
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3401
>             Project: Hibernate Core
>          Issue Type: Patch
>          Components: core
>            Reporter: Thomas Mueller
>            Assignee: Steve Ebersole
>             Fix For: 3.2.x, 3.3.x, 3.5
>
>         Attachments: H2Dialect.java, H2Dialect.java.patch, test.zip
>
>
> There are a few bugs in the H2 Dialect:
> - There is no native BIT data type in H2.
> - The database function DATEDIFF does have parameters
> - There is a typo in function QUARTER
> I have created a patch and a simple test case: The problem with the BIT / BOOLEAN data type appears if you run the test twice. Please tell me if you need more information.
> Regards,
> Thomas

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