Package com.ibatis.common.jdbc.logging
Class BaseLogProxy
java.lang.Object
com.ibatis.common.jdbc.logging.BaseLogProxy
- Direct Known Subclasses:
ConnectionLogProxy,PreparedStatementLogProxy,ResultSetLogProxy,StatementLogProxy
Base class for proxies to do logging.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidClear column info.protected ObjectGets the column.protected StringGets the column string.protected static intGets the next id.protected StringGets the type string.protected StringGets the value string.protected StringremoveBreakingWhitespace(String original) Removes the breaking whitespace.protected voidSets the column.
-
Field Details
-
SET_METHODS
The Constant SET_METHODS. -
GET_METHODS
The Constant GET_METHODS. -
EXECUTE_METHODS
The Constant EXECUTE_METHODS. -
id
protected int idThe id.
-
-
Constructor Details
-
BaseLogProxy
public BaseLogProxy()Default constructor.
-
-
Method Details
-
setColumn
-
getColumn
-
getValueString
-
getTypeString
-
getColumnString
-
clearColumnInfo
protected void clearColumnInfo()Clear column info. -
removeBreakingWhitespace
-
getNextId
protected static int getNextId()Gets the next id.- Returns:
- the next id
-