HHH-6717 oracle does not have a boolean type

This commit is contained in:
Strong Liu 2011-10-12 17:40:09 +08:00
parent c180d721c0
commit 92da1097aa
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class Oracle8iDialect extends Dialect {
registerColumnType( Types.NUMERIC, "number($p,$s)" );
registerColumnType( Types.DECIMAL, "number($p,$s)" );
registerColumnType( Types.BOOLEAN, "char(1)" );
registerColumnType( Types.BOOLEAN, "number(1,0)" );
}
protected void registerDateTimeTypeMappings() {