Class BaseLogProxy

java.lang.Object
com.ibatis.common.jdbc.logging.BaseLogProxy
Direct Known Subclasses:
ConnectionLogProxy, PreparedStatementLogProxy, ResultSetLogProxy, StatementLogProxy

public class BaseLogProxy extends Object
Base class for proxies to do logging.
  • Field Details

    • SET_METHODS

      protected static final Set SET_METHODS
      The Constant SET_METHODS.
    • GET_METHODS

      protected static final Set GET_METHODS
      The Constant GET_METHODS.
    • EXECUTE_METHODS

      protected static final Set EXECUTE_METHODS
      The Constant EXECUTE_METHODS.
    • id

      protected int id
      The id.
  • Constructor Details

    • BaseLogProxy

      public BaseLogProxy()
      Default constructor.
  • Method Details

    • setColumn

      protected void setColumn(Object key, Object value)
      Sets the column.
      Parameters:
      key - the key
      value - the value
    • getColumn

      protected Object getColumn(Object key)
      Gets the column.
      Parameters:
      key - the key
      Returns:
      the column
    • getValueString

      protected String getValueString()
      Gets the value string.
      Returns:
      the value string
    • getTypeString

      protected String getTypeString()
      Gets the type string.
      Returns:
      the type string
    • getColumnString

      protected String getColumnString()
      Gets the column string.
      Returns:
      the column string
    • clearColumnInfo

      protected void clearColumnInfo()
      Clear column info.
    • removeBreakingWhitespace

      protected String removeBreakingWhitespace(String original)
      Removes the breaking whitespace.
      Parameters:
      original - the original
      Returns:
      the string
    • getNextId

      protected static int getNextId()
      Gets the next id.
      Returns:
      the next id