org.apache.ibatis.logging.jdbc
Class PreparedStatementLogger

java.lang.Object
  extended by org.apache.ibatis.logging.jdbc.BaseJdbcLogger
      extended by org.apache.ibatis.logging.jdbc.PreparedStatementLogger
All Implemented Interfaces:
InvocationHandler

public final class PreparedStatementLogger
extends BaseJdbcLogger
implements InvocationHandler


Field Summary
 
Fields inherited from class org.apache.ibatis.logging.jdbc.BaseJdbcLogger
EXECUTE_METHODS, SET_METHODS
 
Method Summary
protected  Log getLog()
           
 PreparedStatement getPreparedStatement()
           
 Object invoke(Object proxy, Method method, Object[] params)
           
static PreparedStatement newInstance(PreparedStatement stmt, Log statementLog)
           
 
Methods inherited from class org.apache.ibatis.logging.jdbc.BaseJdbcLogger
clearColumnInfo, debug, getColumn, getColumnString, getParameterValueString, getStatementLog, isDebugEnabled, removeBreakingWhitespace, setColumn, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] params)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

newInstance

public static PreparedStatement newInstance(PreparedStatement stmt,
                                            Log statementLog)

getPreparedStatement

public PreparedStatement getPreparedStatement()

getLog

protected Log getLog()
Specified by:
getLog in class BaseJdbcLogger


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.