Package org.apache.ibatis.logging.jdbc
Class ResultSetLogger
java.lang.Object
org.apache.ibatis.logging.jdbc.BaseJdbcLogger
org.apache.ibatis.logging.jdbc.ResultSetLogger
- All Implemented Interfaces:
InvocationHandler
ResultSet proxy to add logging.
- Author:
- Clinton Begin, Eduardo Macarron
-
Field Summary
Fields inherited from class org.apache.ibatis.logging.jdbc.BaseJdbcLogger
EXECUTE_METHODS, queryStack, SET_METHODS, statementLog
-
Method Summary
Methods inherited from class org.apache.ibatis.logging.jdbc.BaseJdbcLogger
clearColumnInfo, debug, getColumn, getColumnString, getParameterValueString, isDebugEnabled, isTraceEnabled, objectValueString, removeExtraWhitespace, setColumn, trace
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
newInstance
Creates a logging version of a ResultSet.- Parameters:
rs
- the ResultSet to proxystatementLog
- the statement logqueryStack
- the query stack- Returns:
- the ResultSet with logging
-
getRs
Get the wrapped result set.- Returns:
- the resultSet
-