SolarMetric Kodo JDO 3.4.1 generated on May 30 2006

com.solarmetric.jdbc
Class LoggingConnectionDecorator

java.lang.Object
  |
  +--com.solarmetric.jdbc.LoggingConnectionDecorator
All Implemented Interfaces:
ConnectionDecorator

public synchronized class LoggingConnectionDecorator
extends Object
implements ConnectionDecorator


Inner Class Summary
static interface LoggingConnectionDecorator.SQLWarningHandler
           
 
Constructor Summary
LoggingConnectionDecorator()
           
 
Method Summary
 Connection decorate(Connection)
          Decorate the given connection if desired.
 JDBCLog getJDBCLog()
           
 boolean getPrettyPrint()
           
 int getPrettyPrintLineLength()
           
 boolean getTrackParameters()
           
 String getWarningAction()
           
 LoggingConnectionDecorator.SQLWarningHandler getWarningHandler()
           
 void setJDBCLog(JDBCLog)
           
 void setPrettyPrint(boolean)
           
 void setPrettyPrintLineLength(int)
           
 void setTrackParameters(boolean)
           
 void setWarningAction(String)
           
 void setWarningHandler(LoggingConnectionDecorator.SQLWarningHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingConnectionDecorator

public LoggingConnectionDecorator()
Method Detail

setPrettyPrint

public void setPrettyPrint(boolean)

getPrettyPrint

public boolean getPrettyPrint()

setPrettyPrintLineLength

public void setPrettyPrintLineLength(int)

getPrettyPrintLineLength

public int getPrettyPrintLineLength()

setTrackParameters

public void setTrackParameters(boolean)

getTrackParameters

public boolean getTrackParameters()

setWarningAction

public void setWarningAction(String)

getWarningAction

public String getWarningAction()

setWarningHandler

public void setWarningHandler(LoggingConnectionDecorator.SQLWarningHandler)

getWarningHandler

public LoggingConnectionDecorator.SQLWarningHandler getWarningHandler()

setJDBCLog

public void setJDBCLog(JDBCLog)

getJDBCLog

public JDBCLog getJDBCLog()

decorate

public Connection decorate(Connection)
                    throws SQLException
Description copied from interface: ConnectionDecorator
Decorate the given connection if desired.
Specified by:
decorate in interface ConnectionDecorator

SolarMetric Kodo JDO 3.4.1 generated on May 30 2006

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.