BasicEmbeddedConnectionPoolDataSource40 is similar to
EmbeddedConnectionPoolDataSource40 except it does not support JNDI naming,
i.e. it does not implement javax.naming.Referenceable.
EmbeddedConnectionPoolDataSource40
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private PooledConnection | Returns: a connection to the databasethe user name used to authenticate the connection user, String the user's password password, boolean false if original call is from a
no-argument constructor, otherwise trueMinion helper method. |
| public final PooledConnection | getPooledConnection()
Implements javax. |
| public final PooledConnection | getPooledConnection(String
the database user on whose behalf the connection is being made username, String the user's password password)Implements javax. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| BasicEmbeddedConnectionPoolDataSource40 | back to summary |
|---|---|
| public BasicEmbeddedConnectionPoolDataSource40() No-argument constructor. | |
| createPooledConnection | back to summary |
|---|---|
| private PooledConnection createPooledConnection(String user, String password, boolean requestPassword) throws SQLException Minion helper method. Create and return a pooled connection
| |
| getPooledConnection | back to summary |
|---|---|
| public final PooledConnection getPooledConnection() throws SQLException Implements javax. Doc from javax. Attempts to establish a physical database connection that can be used as a pooled connection.
| |
| getPooledConnection | back to summary |
|---|---|
| public final PooledConnection getPooledConnection(String username, String password) throws SQLException Implements javax. Doc from javax. Attempts to establish a physical database connection that can be used as a pooled connection.
| |