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

Chris Bredesen (JIRA) noreply at atlassian.com
Tue Jan 27 10:45:39 EST 2009


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

Chris Bredesen commented on HHH-3401:
-------------------------------------

I applied this patch to 3.3 and I get the same test results before and after - 17 errors, 3 failures.  So perhaps we're missing some coverage.  I'm interested in the test that fails when you run it twice.  Can you shed some light on that?  The test provided simply saves an instance that contains some basic columns (one being boolean).  Certainly the 3.3 testsuite covers this.  But we cannot rely on back-to-back runs to see a failure.  Do you think you can conceive of a test that shows the error using a single run of the TS?

Thanks again for the contribution, Thomas!

> H2 Database Dialect Fixes
> -------------------------
>
>                 Key: HHH-3401
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3401
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>            Reporter: Thomas Mueller
>            Assignee: Chris Bredesen
>         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