HHH-6717 oracle does not have a boolean type

This commit is contained in:
Strong Liu 2011-10-09 16:19:52 +08:00
parent 884f6a2455
commit f951e15fea
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ public class Oracle8iDialect extends Dialect {
registerColumnType( Types.DOUBLE, "double precision" );
registerColumnType( Types.NUMERIC, "number($p,$s)" );
registerColumnType( Types.DECIMAL, "number($p,$s)" );
registerColumnType( Types.BOOLEAN, "char(1)" );
}
protected void registerDateTimeTypeMappings() {