JDBC support for Java SE 8 Compact Profiles

Derby provides support for Compact Profiles 2 and 3 on the Java SE 8 platform by means of a group of JDBC DataSource classes. (Compact Profile 1 does not provide any JDBC support.)

The following DataSource classes, all within the org.apache.derby.jdbc package, support Java SE 8 Compact Profiles 2 and 3:

These DataSource classes cannot be used in applications that use the Java Naming and Directory Interface (JNDI) API. Otherwise, they are just like the versions for the full Java SE platform.

Related reference
java.sql.DatabaseMetaData interface: JDBC 4.2 features
java.sql.SQLType interface