Reduced "getParameterType call not supported" log message to single line

Issue: SPR-10185
master
Juergen Hoeller 11 years ago
parent 7a9d58375f
commit 41f041e6ae
  1. 4
      spring-jdbc/src/main/java/org/springframework/jdbc/core/StatementCreatorUtils.java

@ -231,7 +231,9 @@ public abstract class StatementCreatorUtils {
sqlType = ps.getParameterMetaData().getParameterType(paramIndex);
}
catch (Throwable ex) {
logger.debug("JDBC 3.0 getParameterType call not supported", ex);
if (logger.isDebugEnabled()) {
logger.debug("JDBC 3.0 getParameterType call not supported: " + ex);
}
// JDBC driver not compliant with JDBC 3.0
// -> proceed with database-specific checks
try {

Loading…
Cancel
Save