From 22fdec8d225969f9b136cfd08a65118c66252b4c Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Fri, 21 Oct 2011 16:46:31 -0700 Subject: [PATCH] HHH-6188 : java.util.UUID cannot be used for Ids on Oracle --- .../src/main/java/org/hibernate/dialect/Oracle8iDialect.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java index 5c02ac8086..21bbaec7e3 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java @@ -95,6 +95,9 @@ public class Oracle8iDialect extends Dialect { } protected void registerLargeObjectTypeMappings() { + registerColumnType( Types.BINARY, 2000, "raw($l)" ); + registerColumnType( Types.BINARY, "long raw" ); + registerColumnType( Types.VARBINARY, 2000, "raw($l)" ); registerColumnType( Types.VARBINARY, "long raw" );