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
JDBCListener
listener.Connection decorator that can configure some properties of the underlying connection.A connection decorator can wrapConnection
s before they are returned to the user to add functionality.Provies basic logging facilities to a DataSource.Delegating data source that maintains a list ofConnectionDecorator
s.CallableStatement
that 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 ofJDBCEvent
s.A listener for allJDBCEvent
s that occur.AConnectionDecorator
that creates logging connections andReportingSQLException
s.Interface that allows customization of what to do whenSQLWarning
s occur.ASQLException
that contains information about theStatement
SQL that caused the exception.Converts single-line SQL strings into nicely-formatted multi-line, indented statements.