HHH-5401 - Update to HHH-5381 HSQLDB new dialect (Fred Toussi)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20019 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
4f34ef6907
commit
6cd8f776f9
|
@ -88,6 +88,7 @@ public class HSQLDialect extends Dialect {
|
|||
registerColumnType( Types.BIGINT, "bigint" );
|
||||
registerColumnType( Types.BINARY, "binary" );
|
||||
registerColumnType( Types.BIT, "bit" );
|
||||
registerColumnType( Types.BOOLEAN, "boolean" );
|
||||
registerColumnType( Types.CHAR, "char($l)" );
|
||||
registerColumnType( Types.DATE, "date" );
|
||||
|
||||
|
@ -391,6 +392,9 @@ public class HSQLDialect extends Dialect {
|
|||
return literal;
|
||||
}
|
||||
|
||||
public boolean supportsUnionAll() {
|
||||
return true;
|
||||
}
|
||||
|
||||
// temporary table support ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
// Hibernate uses this information for temporary tables that it uses for its own operations
|
||||
|
@ -650,6 +654,10 @@ public class HSQLDialect extends Dialect {
|
|||
return false;
|
||||
}
|
||||
|
||||
public String toBooleanValueString(boolean bool) {
|
||||
return bool ? "true" : "false";
|
||||
}
|
||||
|
||||
public boolean supportsTupleDistinctCounts() {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue