Package org.apache.ibatis.logging.jdbc
Class StatementLogger
java.lang.Object
org.apache.ibatis.logging.jdbc.BaseJdbcLogger
org.apache.ibatis.logging.jdbc.StatementLogger
- All Implemented Interfaces:
- InvocationHandler
Statement proxy to add logging.
- Author:
- Clinton Begin, Eduardo Macarron
- 
Field SummaryFields inherited from class org.apache.ibatis.logging.jdbc.BaseJdbcLoggerEXECUTE_METHODS, queryStack, SET_METHODS, statementLog
- 
Method SummaryMethods inherited from class org.apache.ibatis.logging.jdbc.BaseJdbcLoggerclearColumnInfo, debug, getColumn, getColumnString, getParameterValueString, isDebugEnabled, isTraceEnabled, objectValueString, removeExtraWhitespace, setColumn, trace
- 
Method Details- 
invoke- Specified by:
- invokein interface- InvocationHandler
- Throws:
- Throwable
 
- 
newInstanceCreates a logging version of a Statement.- Parameters:
- stmt- the statement
- statementLog- the statement log
- queryStack- the query stack
- Returns:
- the proxy
 
- 
getStatementreturn the wrapped statement.- Returns:
- the statement
 
 
-