HHH-14269 Confusing method names unableToObjectConnectionMetadata and unableToObjectConnectionToQueryMetadata

This commit is contained in:
Sanne Grinovero 2020-10-20 12:12:13 +01:00
parent 4f32f6e1de
commit 4e216f7ca7
2 changed files with 2 additions and 10 deletions

View File

@ -118,7 +118,7 @@ public class JdbcEnvironmentInitiator implements StandardServiceInitiator<JdbcEn
);
}
catch (SQLException e) {
log.unableToObtainConnectionMetadata( e.getMessage() );
log.unableToObtainConnectionMetadata( e );
}
finally {
try {

View File

@ -1150,15 +1150,7 @@ public interface CoreMessageLogger extends BasicLogger {
@LogMessage(level = WARN)
@Message(value = "Could not obtain connection metadata: %s", id = 339)
void unableToObjectConnectionMetadata(SQLException error);
@LogMessage(level = WARN)
@Message(value = "Could not obtain connection to query metadata: %s", id = 340)
void unableToObjectConnectionToQueryMetadata(SQLException error);
@LogMessage(level = WARN)
@Message(value = "Could not obtain connection metadata : %s", id = 341)
void unableToObtainConnectionMetadata(String message);
void unableToObtainConnectionMetadata(SQLException error);
@LogMessage(level = WARN)
@Message(value = "Could not obtain connection to query metadata", id = 342)