fix argument to log

pull/372/head
Nitin 10 years ago
parent 2cf1446fdd
commit c1ee0b0ce8

@ -175,7 +175,7 @@ public final class PoolElf
void setupConnection(final Connection connection, final long connectionTimeout) throws SQLException
{
if (isUseJdbc4Validation && !isJdbc4ValidationSupported(connection)) {
throw new SQLException("Connection.isValid() method is not supported, connection test query must be configured");
throw new SQLException("Connection.isValid() is not supported, configure connection test query.");
}
networkTimeout = getAndSetNetworkTimeout(connection, connectionTimeout);
@ -269,7 +269,7 @@ public final class PoolElf
}
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("{} - Reset ({}) on connection {}", resetBits != 0 ? stringFromResetBits(resetBits) : "nothing", poolEntry.connection);
LOGGER.debug("{} - Reset ({}) on connection {}", poolName, resetBits != 0 ? stringFromResetBits(resetBits) : "nothing", poolEntry.connection);
}
}

Loading…
Cancel
Save