com.solarmetric.jdbc
Class LoggingConnectionDecorator
java.lang.Object
|
+--com.solarmetric.jdbc.LoggingConnectionDecorator
- All Implemented Interfaces:
- ConnectionDecorator
- public synchronized class LoggingConnectionDecorator
- extends Object
- implements ConnectionDecorator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingConnectionDecorator
public LoggingConnectionDecorator()
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
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.