]
Gail Badner resolved HHH-5842.
------------------------------
Resolution: Fixed
Fixed in git hibernate-core master and 3.6.
Types.Binary column type should be registered as "binary($l) for
HSQLDialect
----------------------------------------------------------------------------
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
Assignee: Gail Badner
Fix For: 3.6.2, 4.0.0.Alpha1
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: