|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.jdbc.InternalDriver
org.apache.derby.jdbc.Driver20
org.apache.derby.jdbc.Driver30
org.apache.derby.jdbc.Driver40
public class Driver40
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.derby.jdbc.Driver20 |
|---|
Driver20.LoginCallable |
| Field Summary |
|---|
| Fields inherited from class org.apache.derby.jdbc.InternalDriver |
|---|
active |
| Constructor Summary | |
|---|---|
Driver40()
|
|
| Method Summary | |
|---|---|
void |
boot(boolean create,
java.util.Properties properties)
Overwriting the super class boot method to set exception factory |
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 EmbeddedBaseDataSource. |
java.util.logging.Logger |
getParentLogger()
|
BrokeredConnection |
newBrokeredConnection(BrokeredConnectionControl control)
|
java.sql.CallableStatement |
newEmbedCallableStatement(EmbedConnection conn,
java.lang.String stmt,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
java.sql.DatabaseMetaData |
newEmbedDatabaseMetaData(EmbedConnection conn,
java.lang.String dbname)
Return a new java.sql.DatabaseMetaData instance for this implementation. |
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)
|
EmbedResultSet |
newEmbedResultSet(EmbedConnection conn,
ResultSet results,
boolean forMetaData,
EmbedStatement statement,
boolean isAtomic)
Return a new java.sql.ResultSet instance for this implementation. |
EmbedResultSetMetaData40 |
newEmbedResultSetMetaData(ResultColumnDescriptor[] columnInfo)
Returns a new java.sql.ResultSetMetaData for this implementation |
java.sql.Statement |
newEmbedStatement(EmbedConnection conn,
boolean forMetaData,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
returns a new EmbedStatement |
| Methods inherited from class org.apache.derby.jdbc.Driver20 |
|---|
checkSystemPrivileges, connect, getPropertyInfo, stop, timeLogin |
| Methods inherited from class org.apache.derby.jdbc.InternalDriver |
|---|
acceptsURL, activeDriver, connect, embeddedDriverAcceptsURL, getAttributes, getAuthenticationService, getContextServiceFactory, getDatabaseName, getDeregister, getMajorVersion, getMinorVersion, isActive, jdbcCompliant, setDeregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.sql.Driver |
|---|
acceptsURL, getMajorVersion, getMinorVersion, jdbcCompliant |
| Constructor Detail |
|---|
public Driver40()
| Method Detail |
|---|
public java.sql.Connection getNewNestedConnection(EmbedConnection conn)
Driver30
getNewNestedConnection in class Driver30conn - The EmbedConnection.
protected EmbedConnection getNewEmbedConnection(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
getNewEmbedConnection in class Driver30java.sql.SQLException
public java.sql.Statement newEmbedStatement(EmbedConnection conn,
boolean forMetaData,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
newEmbedStatement in class InternalDriverconn - the EmbedConnection class associated with
this statement objectforMetaData - booleanresultSetType - intresultSetConcurrency - intresultSetHoldability - int
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 Driver30java.sql.SQLException - if fails to create statement
public java.sql.CallableStatement newEmbedCallableStatement(EmbedConnection conn,
java.lang.String stmt,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws java.sql.SQLException
newEmbedCallableStatement in class Driver30java.sql.SQLException - if fails to create statement
public BrokeredConnection newBrokeredConnection(BrokeredConnectionControl control)
throws java.sql.SQLException
newBrokeredConnection in class Driver30java.sql.SQLException
public EmbedResultSet newEmbedResultSet(EmbedConnection conn,
ResultSet results,
boolean forMetaData,
EmbedStatement statement,
boolean isAtomic)
throws java.sql.SQLException
InternalDriver
newEmbedResultSet in class Driver20conn - Owning connectionresults - Top level of language result set treeforMetaData - Is this for meta-datastatement - The statement that is creating the SQL ResultSet
java.sql.SQLException
public void boot(boolean create,
java.util.Properties properties)
throws StandardException
boot in interface ModuleControlboot in class Driver20StandardException - Module cannot be started.InternalDriver.boot(boolean, java.util.Properties)
public java.sql.DatabaseMetaData newEmbedDatabaseMetaData(EmbedConnection conn,
java.lang.String dbname)
throws java.sql.SQLException
InternalDriver
newEmbedDatabaseMetaData in class InternalDriverjava.sql.SQLException - on failure to create.public EmbedResultSetMetaData40 newEmbedResultSetMetaData(ResultColumnDescriptor[] columnInfo)
newEmbedResultSetMetaData in class InternalDrivercolumnInfo - a ResultColumnDescriptor that stores information
about the columns in a ResultSet
protected javax.sql.PooledConnection getNewPooledConnection(EmbeddedBaseDataSource eds,
java.lang.String user,
java.lang.String password,
boolean requestPassword)
throws java.sql.SQLException
getNewPooledConnection in class Driver30java.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
getNewXAConnection in class Driver30java.sql.SQLException
public java.util.logging.Logger getParentLogger()
throws java.sql.SQLFeatureNotSupportedException
java.sql.SQLFeatureNotSupportedException
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||