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" );