HHH-14269 Confusing method names unableToObjectConnectionMetadata and unableToObjectConnectionToQueryMetadata
This commit is contained in:
parent
4f32f6e1de
commit
4e216f7ca7
|
@ -118,7 +118,7 @@ public class JdbcEnvironmentInitiator implements StandardServiceInitiator<JdbcEn
|
|||
);
|
||||
}
|
||||
catch (SQLException e) {
|
||||
log.unableToObtainConnectionMetadata( e.getMessage() );
|
||||
log.unableToObtainConnectionMetadata( e );
|
||||
}
|
||||
finally {
|
||||
try {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue