HHH-7059 The DerbyDialect deprecation warning should appear no more,
when using one of the version-specific dialects
This commit is contained in:
parent
401d4902fd
commit
a043701de7
|
@ -56,7 +56,9 @@ public class DerbyDialect extends DB2Dialect {
|
||||||
|
|
||||||
public DerbyDialect() {
|
public DerbyDialect() {
|
||||||
super();
|
super();
|
||||||
|
if (this.getClass() == DerbyDialect.class) {
|
||||||
LOG.deprecatedDerbyDialect();
|
LOG.deprecatedDerbyDialect();
|
||||||
|
}
|
||||||
registerFunction( "concat", new DerbyConcatFunction() );
|
registerFunction( "concat", new DerbyConcatFunction() );
|
||||||
registerFunction( "trim", new AnsiTrimFunction() );
|
registerFunction( "trim", new AnsiTrimFunction() );
|
||||||
registerColumnType( Types.BLOB, "blob" );
|
registerColumnType( Types.BLOB, "blob" );
|
||||||
|
|
Loading…
Reference in New Issue