package com.dmnlk.doma;

/**
 * Created by masaki on 2015/07/22.
 */
public class CommonJdbcLogger {
}

@@ -22,82 +22,2693 @@
 a;%0A%0A
-/**%0A * Created by masaki on 2015/07/22.%0A */%0Apublic class CommonJdbcLogger %7B
+import org.apache.log4j.Logger;%0Aimport org.seasar.doma.jdbc.JdbcLogger;%0Aimport org.seasar.doma.jdbc.Sql;%0Aimport org.seasar.doma.jdbc.SqlExecutionSkipCause;%0A%0Aimport java.sql.SQLException;%0A%0A/**%0A * @author dmnlk%0A */%0Apublic class CommonJdbcLogger implements JdbcLogger %7B%0A    private final Logger logger = Logger.getLogger(getClass());%0A%0A    @Override%0A    public void logDaoMethodEntering(String callerClassName, String callerMethodName, Object... args) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logDaoMethodExiting(String callerClassName, String callerMethodName, Object result) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logDaoMethodThrowing(String callerClassName, String callerMethodName, RuntimeException e) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logSqlExecutionSkipping(String callerClassName, String callerMethodName, SqlExecutionSkipCause cause) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logSql(String callerClassName, String callerMethodName, Sql%3C?%3E sql) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logTransactionBegun(String callerClassName, String callerMethodName, String transactionId) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logTransactionEnded(String callerClassName, String callerMethodName, String transactionId) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logTransactionCommitted(String callerClassName, String callerMethodName, String transactionId) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logTransactionSavepointCreated(String callerClassName, String callerMethodName, String transactionId, String savepointName) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logTransactionRolledback(String callerClassName, String callerMethodName, String transactionId) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logTransactionSavepointRolledback(String callerClassName, String callerMethodName, String transactionId, String savepointName) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logTransactionRollbackFailure(String callerClassName, String callerMethodName, String transactionId, SQLException e) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logAutoCommitEnablingFailure(String callerClassName, String callerMethodName, SQLException e) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logTransactionIsolationSettingFailuer(String callerClassName, String callerMethodName, int transactionIsolationLevel, SQLException e) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logConnectionClosingFailure(String callerClassName, String callerMethodName, SQLException e) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logStatementClosingFailure(String callerClassName, String callerMethodName, SQLException e) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void logResultSetClosingFailure(String callerClassName, String callerMethodName, SQLException e) %7B%0A%0A    %7D
 %0A%7D%0A

add apache logger