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

Issue: SPR-10185
This commit is contained in:
Juergen Hoeller
2013-10-14 23:31:53 +02:00
parent 7a9d58375f
commit 41f041e6ae

View File

@@ -231,7 +231,9 @@ public abstract class StatementCreatorUtils {
sqlType = ps.getParameterMetaData().getParameterType(paramIndex); sqlType = ps.getParameterMetaData().getParameterType(paramIndex);
} }
catch (Throwable ex) { 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 // JDBC driver not compliant with JDBC 3.0
// -> proceed with database-specific checks // -> proceed with database-specific checks
try { try {