jodd.db.debug
Class LoggableAdvice

java.lang.Object
  extended by jodd.db.debug.LoggableAdvice
All Implemented Interfaces:
ProxyAdvice

public class LoggableAdvice
extends java.lang.Object
implements ProxyAdvice

Loggable advice over java.sql.PreparedStatement.


Field Summary
protected  java.util.ArrayList<java.lang.String> parameterValues
          Used for storing parameter values needed for producing log.
 java.lang.String sqlTemplate
           
 
Constructor Summary
LoggableAdvice()
           
 
Method Summary
 java.lang.Object execute()
          Intercepts wrapped method.
 java.lang.String getQueryString()
          Returns the query string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameterValues

protected java.util.ArrayList<java.lang.String> parameterValues
Used for storing parameter values needed for producing log.


sqlTemplate

public java.lang.String sqlTemplate
Constructor Detail

LoggableAdvice

public LoggableAdvice()
Method Detail

execute

public java.lang.Object execute()
Description copied from interface: ProxyAdvice
Intercepts wrapped method.

Specified by:
execute in interface ProxyAdvice

getQueryString

public java.lang.String getQueryString()
Returns the query string.



Copyright © 2003-2012 Jodd Team