org.apache.ibatis.logging.jdbc
Class BaseJdbcLogger

java.lang.Object
  extended by org.apache.ibatis.logging.jdbc.BaseJdbcLogger
Direct Known Subclasses:
ConnectionLogger, PreparedStatementLogger, ResultSetLogger, StatementLogger

public abstract class BaseJdbcLogger
extends Object


Field Summary
protected static Set<String> EXECUTE_METHODS
           
protected static Set<String> SET_METHODS
           
 
Constructor Summary
BaseJdbcLogger(Log log)
           
 
Method Summary
protected  void clearColumnInfo()
           
protected  void debug(String text)
           
protected  Object getColumn(Object key)
           
protected  String getColumnString()
           
protected abstract  Log getLog()
           
protected  String getParameterValueString()
           
 Log getStatementLog()
           
protected  boolean isDebugEnabled()
           
protected  String removeBreakingWhitespace(String original)
           
protected  void setColumn(Object key, Object value)
           
protected  void trace(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SET_METHODS

protected static final Set<String> SET_METHODS

EXECUTE_METHODS

protected static final Set<String> EXECUTE_METHODS
Constructor Detail

BaseJdbcLogger

public BaseJdbcLogger(Log log)
Method Detail

setColumn

protected void setColumn(Object key,
                         Object value)

getColumn

protected Object getColumn(Object key)

getParameterValueString

protected String getParameterValueString()

getColumnString

protected String getColumnString()

clearColumnInfo

protected void clearColumnInfo()

removeBreakingWhitespace

protected String removeBreakingWhitespace(String original)

isDebugEnabled

protected boolean isDebugEnabled()

debug

protected void debug(String text)

trace

protected void trace(String text)

getLog

protected abstract Log getLog()

getStatementLog

public Log getStatementLog()


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.