EmbeddedConnectionPoolDataSource is Derby's ConnectionPoolDataSource
implementation for the JDBC3.0 and JDBC2.0 environments.
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 3.0 - Java 2 - JDK 1.4, J2SE 5.0
JDBC 2.0 - Java 2 - JDK 1.2,1.3
EmbeddedConnectionPoolDataSource is serializable and referenceable.
Attempt to establish a database connection.
Parameters: username - the database user on whose behalf the Connection is being made Parameters: password - the user's password a Connection to the database exception: SQLException - if a database-access error occurs.
Fields inherited from org.apache.derby.jdbc.EmbeddedDataSource