From 985b45a920aed2bc76831f907cd12c48a103c173 Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Tue, 8 Mar 2011 13:32:23 -0800 Subject: [PATCH] HHH-5842 : Types.Binary column type should be registered with a length for HSQLDialect --- .../src/main/java/org/hibernate/dialect/HSQLDialect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java index 362637a0b5..95359adb6b 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java @@ -84,7 +84,7 @@ public class HSQLDialect extends Dialect { } registerColumnType( Types.BIGINT, "bigint" ); - registerColumnType( Types.BINARY, "binary" ); + registerColumnType( Types.BINARY, "binary($l)" ); registerColumnType( Types.BIT, "bit" ); registerColumnType( Types.BOOLEAN, "boolean" ); registerColumnType( Types.CHAR, "char($l)" );