add toString()s to DialectResolutionInfo
to fix an ugly log message
This commit is contained in:
parent
dd370313f2
commit
176978cc42
|
@ -102,4 +102,9 @@ public class DatabaseMetaDataDialectResolutionInfoAdapter implements DialectReso
|
|||
public DatabaseMetaData getDatabaseMetadata() {
|
||||
return databaseMetaData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getMajor() + "." + getMinor();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -500,5 +500,10 @@ public class JdbcEnvironmentInitiator implements StandardServiceInitiator<JdbcEn
|
|||
public DatabaseMetaData getDatabaseMetadata() {
|
||||
return databaseMetadata;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getMajor() + "." + getMinor();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -101,4 +101,9 @@ public class TestingDialectResolutionInfo implements DialectResolutionInfo {
|
|||
public String getSQLKeywords() {
|
||||
return "";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getMajor() + "." + getMinor();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue