org.apache.derby.jdbc |
JDBC driver and data source implementations.
Client/Remote driver and data sources, used to connect to the network server
- ClientDriver - Type 4 JDBC driver
- ClientDataSource - Data source
- ClientConnectionPoolDataSource - Connection pooling data source
- ClientXADataSource - XA data source
Embedded driver and data sources, used when the database engine is embedded with the application.
- EmbeddedDriver - Type 4 JDBC driver
- EmbeddedDataSource - Data source for J2SE and J2EE
- EmbeddedSimpleDataSource - Data source for J2ME/CDC/Foundation and J2SE
- EmbeddedConnectionPoolSource - Connection pooling data source
- EmbeddedXASource - XA data source
Derby's JDBC api is defined by its entry point classes, the drivers and data source implementations
and the standard JDBC api definitions of the java.sql and javax.sql classes.
Derby does not provide non-standard extensions to standard JDBC classes such as Connection ,
to encourage portable JDBC applications.
|
Java Source File Name | Type | Comment |
AutoloadedDriver.java | Class | This is the dummy driver which is autoloaded under JDBC4 and registered with
the DriverManager. |
ClientBaseDataSource.java | Class | Base class for client-side DataSource implementations. |
ClientConnectionPoolDataSource.java | Class | ClientConnectionPoolDataSource is a factory for PooledConnection objects.
An object that implements this interface
will typically be registered with a naming service that is based on the
Java Naming and Directory Interface (JNDI). |
ClientConnectionPoolDataSource40.java | Class | ClientConnectionPoolDataSource40 is a factory for PooledConnection objects.
An object that implements this interface
will typically be registered with a naming service that is based on the
Java Naming and Directory Interface (JNDI). |
ClientDataSource.java | Class | ClientDataSource is a simple data source implementation
that can be used for establishing connections in a
non-pooling, non-distributed environment.
The class ClientConnectionPoolDataSource can be used in a connection pooling environment,
and the class ClientXADataSource can be used in a distributed, and pooling
environment. |
ClientDataSource40.java | Class | ClientDataSource40 is a simple data source implementation
that can be used for establishing connections in a
non-pooling, non-distributed environment.
The class ClientConnectionPoolDataSource40 can be used in a connection pooling environment,
and the class ClientXADataSource40 can be used in a distributed, and pooling
environment. |
ClientDriver.java | Class | |
ClientXADataSource.java | Class |
This is Derby's network XADataSource for use with JDBC3.0 and JDBC2.0.
An XADataSource is a factory for XAConnection objects. |
ClientXADataSource40.java | Class |
This is Derby's network XADataSource for use with JDBC4.0.
An XADataSource is a factory for XAConnection objects. |
Driver169.java | Class | Driver169 - JDBC "driver" for J2ME/CDC/Foundation/JSR169, really
the JDBC object factory for the JSR169 environment. |
Driver20.java | Class | This class extends the local JDBC driver in order to determine at JBMS
boot-up if the JVM that runs us does support JDBC 2.0. |
Driver30.java | Class | This class extends the local20 JDBC driver in order to determine at JBMS
boot-up if the JVM that runs us does support JDBC 3.0. |
Driver40.java | Class | |
EmbeddedConnectionPoolDataSource.java | Class | EmbeddedConnectionPoolDataSource is Derby's ConnectionPoolDataSource
implementation for the JDBC3.0 and JDBC2.0 environments.
A ConnectionPoolDataSource is a factory for PooledConnection
objects. |
EmbeddedConnectionPoolDataSource40.java | Class | EmbeddedConnectionPoolDataSource40 is Derby's ConnectionPoolDataSource
implementation for the JDBC4.0 environment.
A ConnectionPoolDataSource is a factory for PooledConnection
objects. |
EmbeddedDataSource.java | Class | EmbeddedDataSource is Derby's DataSource implementation for JDBC3.0 and JDBC2.0.
A DataSource is a factory for Connection objects. |
EmbeddedDataSource40.java | Class | EmbeddedDataSource40 is Derby's DataSource implementation for JDBC4.0.
A DataSource is a factory for Connection objects. |
EmbeddedDriver.java | Class | The embedded JDBC driver (Type 4) for Derby.
The driver automatically supports the correct JDBC specification version
for the Java Virtual Machine's environment.
- JDBC 4.0 - Java SE 6
- JDBC 3.0 - Java 2 - JDK 1.4, J2SE 5.0
- JDBC 2.0 - Java 2 - JDK 1.2,1.3
Loading this JDBC driver boots the database engine
within the same Java virtual machine.
The correct code to load the Derby engine using this driver is
(with approriate try/catch blocks):
Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();
// or
new org.apache.derby.jdbc.EmbeddedDriver();
When loaded in this way, the class boots the actual JDBC driver indirectly.
The JDBC specification recommends the Class.ForName method without the .newInstance()
method call, but adding the newInstance() guarantees
that Derby will be booted on any Java Virtual Machine.
Note that you do not need to manually load the driver this way if you are
running on Jave SE 6 or later. |
EmbeddedSimpleDataSource.java | Class | EmbeddedSimpleDataSource is Derby's DataSource implementation
for J2ME/CDC/Foundation. |
EmbeddedXADataSource.java | Class | EmbeddedXADataSource is Derby's XADataSource implementation for JDBC3.0 and JDBC2.0.
An XADataSource is a factory for XAConnection objects. |
EmbeddedXADataSource40.java | Class | EmbeddedXADataSource40 is Derby's XADataSource implementation for JDBC4.0.
An XADataSource is a factory for XAConnection objects. |
EmbedPooledConnection.java | Class | A PooledConnection object is a connection object that provides hooks for
connection pool management. |
EmbedPooledConnection40.java | Class | A PooledConnection object is a connection object that provides hooks for
connection pool management. |
EmbedXAConnection.java | Class | |
EmbedXAConnection40.java | Class | |
EmbedXAResource.java | Class | |
InternalDriver.java | Class | Abstract factory class and api for JDBC objects. |
ReferenceableDataSource.java | Class | Cloudscape DataSource implementation base class. |
ResourceAdapterImpl.java | Class | |
XAStatementControl.java | Class | The Statement returned by an Connection returned by a XAConnection
needs to float across the underlying real connections. |
XATransactionState.java | Class | |