# javax.sql.DataSource interface: JDBC 4.0 features

Derby has added new JDBC 4.0-specific DataSources. Use these DataSources if your application runs on JDK 6 or higher.

- org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource40
- org.apache.derby.jdbc.EmbeddedDataSource40
- org.apache.derby.jdbc.EmbeddedXADataSource40
- org.apache.derby.jdbc.ClientConnectionPoolDataSource40
- org.apache.derby.jdbc.ClientDataSource40
- org.apache.derby.jdbc.ClientXADataSource40

Parent topic: JDBC 4.0-only features
Related reference
Refined subclasses of SQLException
java.sql.Connection interface: JDBC 4.0 features
java.sql.DatabaseMetaData interface: JDBC 4.0 features
java.sql.Statement interface: JDBC 4.0 features
java.sql.SQLXML interface