Class EmbeddedConnectionPoolDataSource

  • All Implemented Interfaces:
    Serializable, Wrapper, Referenceable, ObjectFactory, CommonDataSource, ConnectionPoolDataSource, DataSource, org.apache.derby.iapi.jdbc.EmbeddedConnectionPoolDataSourceInterface, org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface

    public class EmbeddedConnectionPoolDataSource
    extends EmbeddedDataSource
    implements org.apache.derby.iapi.jdbc.EmbeddedConnectionPoolDataSourceInterface

    This datasource is suitable for an application using embedded Derby, running on full Java SE 6 and higher, corresponding to 4.0 and higher. EmbeddedConnectionPoolDataSource is a ConnectionPoolDataSource implementation.

    A ConnectionPoolDataSource is a factory for PooledConnection objects. An object that implements this interface will typically be registered with a JNDI service.

    EmbeddedConnectionPoolDataSource automatically supports the correct JDBC specification version for the Java Virtual Machine's environment.

    • JDBC 4.0 - Java SE 6
    • JDBC 4.1 - Java SE 7
    • JDBC 4.2 - full Java SE 8

    Use BasicEmbeddedConnectionPoolDataSource40 if your application runs on Java 8 Compact Profile 2.

    EmbeddedConnectionPoolDataSource is serializable and referenceable.

    See EmbeddedDataSource for DataSource properties.

    See Also:
    Serialized Form