javax.sql.DataSource interface: JDBC 3 and JDBC 4.0 features

Derby provides the following DataSource classes for JDBC 3 and JDBC 4.0 applications that run on JDK 5 or higher (except Java SE 8 Compact Profiles).

Derby supports additional DataSource classes for applications that use methods specific to JDBC 4.1 or 4.2 (running on JDK 6 or higher) or that run on JDK 8 Compact Profile 2 or 3. See javax.sql.DataSource interface: JDBC 4.1 features or JDBC support for Java SE 8 Compact Profiles for details.

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