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