Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ibatis.common.jdbc.logging
Class BaseLogProxy  view BaseLogProxy download BaseLogProxy.java

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

public class BaseLogProxy
extends java.lang.Object

Base class for proxies to do logging


Field Summary
private  java.util.Map columnMap
           
private  java.util.List columnNames
           
private  java.util.List columnValues
           
protected static java.util.Set EXECUTE_METHODS
           
protected static java.util.Set GET_METHODS
           
protected  int id
           
private static int nextId
           
protected static java.util.Set SET_METHODS
           
 
Constructor Summary
BaseLogProxy()
          Default constructor
 
Method Summary
protected  void clearColumnInfo()
           
protected  java.lang.Object getColumn(java.lang.Object key)
           
protected  java.lang.String getColumnString()
           
protected static int getNextId()
           
protected  java.lang.String getTypeString()
           
protected  java.lang.String getValueString()
           
protected  java.lang.String removeBreakingWhitespace(java.lang.String original)
           
protected  void setColumn(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextId

private static int nextId

SET_METHODS

protected static final java.util.Set SET_METHODS

GET_METHODS

protected static final java.util.Set GET_METHODS

EXECUTE_METHODS

protected static final java.util.Set EXECUTE_METHODS

columnMap

private java.util.Map columnMap

columnNames

private java.util.List columnNames

columnValues

private java.util.List columnValues

id

protected int id
Constructor Detail

BaseLogProxy

public BaseLogProxy()
Default constructor

Method Detail

setColumn

protected void setColumn(java.lang.Object key,
                         java.lang.Object value)

getColumn

protected java.lang.Object getColumn(java.lang.Object key)

getValueString

protected java.lang.String getValueString()

getTypeString

protected java.lang.String getTypeString()

getColumnString

protected java.lang.String getColumnString()

clearColumnInfo

protected void clearColumnInfo()

removeBreakingWhitespace

protected java.lang.String removeBreakingWhitespace(java.lang.String original)

getNextId

protected static int getNextId()