org.apache.openjpa.lib.jdbc
Interface ConnectionDecorator

All Known Implementing Classes:
AbstractDB2Dictionary, AbstractSQLServerDictionary, AccessDictionary, CacheDictionary, ConfiguringConnectionDecorator, DB2Dictionary, DBDictionary, DerbyDictionary, EmpressDictionary, FirebirdDictionary, FoxProDictionary, H2Dictionary, HSQLDictionary, InformixDictionary, IngresDictionary, InterbaseDictionary, JDataStoreDictionary, JDBCEventConnectionDecorator, LoggingConnectionDecorator, MaxDBDictionary, MySQLDictionary, OracleDictionary, PointbaseDictionary, PostgresDictionary, SolidDBDictionary, 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-2012 Apache Software Foundation. All Rights Reserved.