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 void
Clear column info.protected Object
Gets the column.protected String
Gets the column string.protected static int
Gets the next id.protected String
Gets the type string.protected String
Gets the value string.protected String
removeBreakingWhitespace
(String original) Removes the breaking whitespace.protected void
Sets 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
-