Class BasicEmbeddedConnectionPoolDataSource40

  • All Implemented Interfaces:
    java.io.Serializable, java.sql.Wrapper, javax.sql.CommonDataSource, javax.sql.ConnectionPoolDataSource, javax.sql.DataSource, org.apache.derby.jdbc.EmbeddedConnectionPoolDataSourceInterface, org.apache.derby.jdbc.EmbeddedDataSourceInterface

    public class BasicEmbeddedConnectionPoolDataSource40
    extends BasicEmbeddedDataSource40
    implements javax.sql.ConnectionPoolDataSource, org.apache.derby.jdbc.EmbeddedConnectionPoolDataSourceInterface
    This data source is suitable for an application using embedded Derby, running on Java 8 Compact Profile 2 or higher.

    BasicEmbeddedConnectionPoolDataSource40 is similar to EmbeddedConnectionPoolDataSource40 except it does not support JNDI naming, i.e. it does not implement javax.naming.Referenceable.

    See Also:
    EmbeddedConnectionPoolDataSource40, Serialized Form
    • Constructor Detail

      • BasicEmbeddedConnectionPoolDataSource40

        public BasicEmbeddedConnectionPoolDataSource40()
        No-argument constructor.
    • Method Detail

      • getPooledConnection

        public final javax.sql.PooledConnection getPooledConnection()
                                                             throws java.sql.SQLException
        Specified by:
        getPooledConnection in interface javax.sql.ConnectionPoolDataSource
        Throws:
        java.sql.SQLException
      • getPooledConnection

        public final javax.sql.PooledConnection getPooledConnection​(java.lang.String username,
                                                                    java.lang.String password)
                                                             throws java.sql.SQLException
        Specified by:
        getPooledConnection in interface javax.sql.ConnectionPoolDataSource
        Throws:
        java.sql.SQLException