Package org.apache.openjpa.lib.jdbc
Database Connectivity
Includes an implementation of the DataSource APIs
around a normal JDBC 1.x driver. Implements logging and the ability to
customize JDBC behavior. Also includes a framework for firing and
consuming JDBC-related events.
-
Interface Summary Interface Description ConnectionDecorator A connection decorator can wrapConnections before they are returned to the user to add functionality.JDBCListener A listener for allJDBCEvents that occur.LoggingConnectionDecorator.SQLWarningHandler Interface that allows customization of what to do whenSQLWarnings occur. -
Class Summary Class Description AbstractJDBCListener An abstract implementation of theJDBCListenerlistener.ConfiguringConnectionDecorator Connection decorator that can configure some properties of the underlying connection.DataSourceLogs Provies basic logging facilities to a DataSource.DecoratingDataSource Delegating data source that maintains a list ofConnectionDecorators.DelegatingCallableStatement CallableStatementthat delegates to an internal statement.DelegatingConnection Wrapper around an existing connection.DelegatingDatabaseMetaData Wrapper around a DatabaseMetaData instance.DelegatingDataSource Wrapper around an existing data source.DelegatingPreparedStatement Wrapper around an existing statement.DelegatingResultSet Wrapper around an existing result set.DelegatingStatement Wrapper around an existing statement.JDBCEvent A JDBC event.JDBCEventConnectionDecorator Manages the firing ofJDBCEvents.LoggingConnectionDecorator AConnectionDecoratorthat creates logging connections andReportingSQLExceptions.SQLFormatter Converts single-line SQL strings into nicely-formatted multi-line, indented statements. -
Exception Summary Exception Description ReportingSQLException ASQLExceptionthat contains information about theStatementSQL that caused the exception.