protected Connection getConnection(Log statementLog) throws SQLException { Connection connection = transaction.getConnection(); if (statementLog.isDebugEnabled()) { return ConnectionLogger.newInstance(connection, statementLog, queryStack); } else { return connection; } }
protected Connection getConnection(Log statementLog) throws SQLException { Connection connection = transaction.getConnection(); if (statementLog.isDebugEnabled()) { return ConnectionLogger.newInstance(connection, statementLog, queryStack); } else { return connection; } }
private Connection wrapConnection(Connection connection) { if (log.isDebugEnabled()) { return ConnectionLogger.newInstance(connection); } else { return connection; } }
private Connection wrapConnection(Connection connection) { if (log.isDebugEnabled()) { return ConnectionLogger.newInstance(connection); } else { return connection; } }