Package org.apache.openjpa.lib.jdbc
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.
-
ClassDescriptionAn abstract implementation of the
JDBCListenerlistener.Connection decorator that can configure some properties of the underlying connection.A connection decorator can wrapConnections before they are returned to the user to add functionality.Provies basic logging facilities to a DataSource.Delegating data source that maintains a list ofConnectionDecorators.CallableStatementthat delegates to an internal statement.Wrapper around an existing connection.Wrapper around a DatabaseMetaData instance.Wrapper around an existing data source.Wrapper around an existing statement.Wrapper around an existing result set.Wrapper around an existing statement.A JDBC event.Manages the firing ofJDBCEvents.A listener for allJDBCEvents that occur.AConnectionDecoratorthat creates logging connections andReportingSQLExceptions.Interface that allows customization of what to do whenSQLWarnings occur.ASQLExceptionthat contains information about theStatementSQL that caused the exception.Converts single-line SQL strings into nicely-formatted multi-line, indented statements.