Package com.ibatis.common.jdbc.logging
Class StatementLogProxy
java.lang.Object
com.ibatis.common.jdbc.logging.BaseLogProxy
com.ibatis.common.jdbc.logging.StatementLogProxy
- All Implemented Interfaces:
InvocationHandler
Statement proxy to add logging.
-
Field Summary
Fields inherited from class com.ibatis.common.jdbc.logging.BaseLogProxy
EXECUTE_METHODS, GET_METHODS, id, SET_METHODS
-
Method Summary
Modifier and TypeMethodDescriptionreturn the wrapped statement.static Statement
newInstance
(Statement stmt) Creates a logging version of a Statement.Methods inherited from class com.ibatis.common.jdbc.logging.BaseLogProxy
clearColumnInfo, getColumn, getColumnString, getNextId, getTypeString, getValueString, removeBreakingWhitespace, setColumn
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
newInstance
Creates a logging version of a Statement.- Parameters:
stmt
- - the statement- Returns:
- - the proxy
-
getStatement
return the wrapped statement.- Returns:
- the statement
-