[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5842) Fix for a bug in HSQLDB dialect

Fred Toussi (JIRA) noreply at atlassian.com
Thu Jan 13 19:37:05 EST 2011


Fix for a bug in HSQLDB dialect
-------------------------------

                 Key: HHH-5842
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5842
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.0
         Environment: HSQLDB 2.0.1
            Reporter: Fred Toussi
         Attachments: local_history.patch

In the current HSQLDB dialect, the length argument is missing from the definition of Types.BINARY. This shows up as an error in the Hibernate tests related to binary UUID.

The attached patch, adds the length argument. So for a BINARY column of length 255, instead of CREATE TABLE T(B BINARY), the correct CREATE TABLE T(B BINARY(255)) is generated.

The change is compatible with HSQLDB 2.x and 1.8.x

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