org.apache.openjpa.lib.jdbc
Interface ConnectionDecorator

All Known Implementing Classes:
AbstractDB2Dictionary, AbstractSQLServerDictionary, AccessDictionary, CacheDictionary, ConfiguringConnectionDecorator, DB2Dictionary, DBDictionary, DerbyDictionary, EmpressDictionary, FirebirdDictionary, FoxProDictionary, HSQLDictionary, InformixDictionary, InterbaseDictionary, JDataStoreDictionary, JDBCEventConnectionDecorator, LoggingConnectionDecorator, MySQLDictionary, OracleDictionary, PointbaseDictionary, PostgresDictionary, SQLServerDictionary, SybaseDictionary

public interface ConnectionDecorator

A connection decorator can wrap Connections before they are returned to the user to add functionality.

Author:
Abe White

Method Summary
 Connection decorate(Connection conn)
          Decorate the given connection if desired.
 

Method Detail

decorate

Connection decorate(Connection conn)
                    throws SQLException
Decorate the given connection if desired.

Throws:
SQLException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.