public class Driver30 extends Driver20
Driver20.LoginCallable
active
Constructor and Description |
---|
Driver30() |
Modifier and Type | Method and Description |
---|---|
protected EmbedConnection |
getNewEmbedConnection(java.lang.String url,
java.util.Properties info) |
java.sql.Connection |
getNewNestedConnection(EmbedConnection conn)
Get a new nested connection.
|
protected javax.sql.PooledConnection |
getNewPooledConnection(EmbeddedBaseDataSource eds,
java.lang.String user,
java.lang.String password,
boolean requestPassword)
Create and return an EmbedPooledConnection from the received instance
of EmbeddedDataSource.
|
protected javax.sql.XAConnection |
getNewXAConnection(EmbeddedBaseDataSource eds,
ResourceAdapter ra,
java.lang.String user,
java.lang.String password,
boolean requestPassword)
Create and return an EmbedXAConnection from the received instance
of EmbeddedDataSource.
|
BrokeredConnection |
newBrokeredConnection(BrokeredConnectionControl control) |
java.sql.CallableStatement |
newEmbedCallableStatement(EmbedConnection conn,
java.lang.String stmt,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
java.sql.PreparedStatement |
newEmbedPreparedStatement(EmbedConnection conn,
java.lang.String stmt,
boolean forMetaData,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability,
int autoGeneratedKeys,
int[] columnIndexes,
java.lang.String[] columnNames) |
boot, checkSystemPrivileges, connect, getPropertyInfo, newEmbedResultSet, stop, timeLogin
acceptsURL, activeDriver, connect, embeddedDriverAcceptsURL, getAttributes, getAuthenticationService, getContextServiceFactory, getDatabaseName, getDeregister, getMajorVersion, getMinorVersion, isActive, jdbcCompliant, newEmbedDatabaseMetaData, newEmbedResultSetMetaData, newEmbedStatement, setDeregister
public java.sql.Connection getNewNestedConnection(EmbedConnection conn)
getNewNestedConnection
in class InternalDriver
conn
- The EmbedConnection.protected EmbedConnection getNewEmbedConnection(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
getNewEmbedConnection
in class InternalDriver
java.sql.SQLException
public java.sql.PreparedStatement newEmbedPreparedStatement(EmbedConnection conn, java.lang.String stmt, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, java.lang.String[] columnNames) throws java.sql.SQLException
newEmbedPreparedStatement
in class InternalDriver
java.sql.SQLException
- if fails to create statementpublic java.sql.CallableStatement newEmbedCallableStatement(EmbedConnection conn, java.lang.String stmt, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
newEmbedCallableStatement
in class InternalDriver
java.sql.SQLException
- if fails to create statementpublic BrokeredConnection newBrokeredConnection(BrokeredConnectionControl control) throws java.sql.SQLException
newBrokeredConnection
in class Driver20
java.sql.SQLException
protected javax.sql.PooledConnection getNewPooledConnection(EmbeddedBaseDataSource eds, java.lang.String user, java.lang.String password, boolean requestPassword) throws java.sql.SQLException
java.sql.SQLException
protected javax.sql.XAConnection getNewXAConnection(EmbeddedBaseDataSource eds, ResourceAdapter ra, java.lang.String user, java.lang.String password, boolean requestPassword) throws java.sql.SQLException
java.sql.SQLException
Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.