Keywords: org.apache.derby.jdbc. EmbeddedConnection PoolDataSource, org.apache.derby.jdbc. EmbeddedXADataSource, org.apache.derby.jdbc. EmbeddedDataSource, org.apache.derby.jdbc. ClientConnection PoolDataSource, org.apache.derby.jdbc. ClientXADataSource, org.apache.derby.jdbc. ClientDataSource, org.apache.derby.jdbc. EmbeddedConnection40 PoolDataSource, org.apache.derby.jdbc. EmbeddedXADataSource40, org.apache.derby.jdbc. EmbeddedDataSource40, org.apache.derby.jdbc. ClientConnection40 PoolDataSource, org.apache.derby.jdbc. ClientXADataSource40, org.apache.derby.jdbc. ClientDataSource40

# Data Source Classes

These classes are all related to Derby's implementation of javax.sql.DataSource and related APIs. For more information, see the Java DB Developer's Guide.

Each of these classes has two variants. Use the first variant if your application runs on JDK 1.5 or lower. Use the second variant (the one ending in "40") if your application runs on JDK 1.6 or higher.

Embedded environment:

- org.apache.derby.jdbc.EmbeddedDataSource and org.apache.derby.jdbc.EmbeddedDataSource40
- org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource and org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource40
- org.apache.derby.jdbc.EmbeddedXADataSource and org.apache.derby.jdbc.EmbeddedXADataSource40

Client-server environment

- org.apache.derby.jdbc.ClientDataSource and org.apache.derby.jdbc.ClientDataSource40
- org.apache.derby.jdbc.ClientConnectionPoolDataSource and org.apache.derby.jdbc.ClientConnectionPoolDataSource40
- org.apache.derby.jdbc.ClientXADataSource and org.apache.derby.jdbc.ClientXADataSource40

Parent topic: JDBC implementation classes
Related reference
JDBC driver