public final class PreparedStatementLogger extends BaseJdbcLogger implements InvocationHandler
EXECUTE_METHODS, queryStack, SET_METHODS, statementLog| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
getPreparedStatement()
Return the wrapped prepared statement.
|
Object |
invoke(Object proxy,
Method method,
Object[] params) |
static PreparedStatement |
newInstance(PreparedStatement stmt,
Log statementLog,
int queryStack)
Creates a logging version of a PreparedStatement.
|
clearColumnInfo, debug, getColumn, getColumnString, getParameterValueString, isDebugEnabled, isTraceEnabled, objectValueString, removeExtraWhitespace, setColumn, tracepublic Object invoke(Object proxy, Method method, Object[] params) throws Throwable
invoke in interface InvocationHandlerThrowablepublic static PreparedStatement newInstance(PreparedStatement stmt, Log statementLog, int queryStack)
stmt - - the statementstatementLog - - the statement logqueryStack - - the query stackpublic PreparedStatement getPreparedStatement()
Copyright © 2009–2021 MyBatis.org. All rights reserved.