JDBC support for Java SE 8 Compact Profiles provides support for Compact Profiles on the Java SE 8 platform by means of a group of JDBC DataSource classes. Compact ProfilesJDBC support

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.

Applications using Java SE 8 Compact Profile 2 must use these classes. Applications using Java SE 8 Compact Profile 3 can use the ordinary DataSource classes. (Compact Profile 1 does not provide any JDBC support, so does not support it.)

The following DataSource classes are required for use with Java SE 8 Compact Profile 2:

  • org.apache.derby.jdbc.BasicEmbeddedDataSource40
  • org.apache.derby.jdbc.BasicEmbeddedConnectionPoolDataSource40
  • org.apache.derby.jdbc.BasicEmbeddedXADataSource40
  • org.apache.derby.jdbc.BasicClientDataSource40
  • org.apache.derby.jdbc.BasicClientConnectionPoolDataSource40
  • org.apache.derby.jdbc.BasicClientXADataSource40