public class Driver42 extends Driver40
Embedded JDBC driver for JDBC 4.2.
Driver20.LoginCallable
active
Constructor and Description |
---|
Driver42() |
Modifier and Type | Method and Description |
---|---|
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) |
EmbedResultSet |
newEmbedResultSet(EmbedConnection conn,
ResultSet results,
boolean forMetaData,
EmbedStatement statement,
boolean isAtomic)
Return a new java.sql.ResultSet instance for this implementation.
|
boot, getNewEmbedConnection, getNewNestedConnection, getNewPooledConnection, getNewXAConnection, getParentLogger, newEmbedDatabaseMetaData, newEmbedResultSetMetaData, newEmbedStatement
checkSystemPrivileges, connect, getPropertyInfo, stop, timeLogin
acceptsURL, activeDriver, connect, embeddedDriverAcceptsURL, getAttributes, getAuthenticationService, getContextServiceFactory, getDatabaseName, getDeregister, getMajorVersion, getMinorVersion, isActive, jdbcCompliant, setDeregister
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 Driver40
java.sql.SQLException
- if fails to create statementpublic BrokeredConnection newBrokeredConnection(BrokeredConnectionControl control) throws java.sql.SQLException
newBrokeredConnection
in class Driver40
java.sql.SQLException
public EmbedResultSet newEmbedResultSet(EmbedConnection conn, ResultSet results, boolean forMetaData, EmbedStatement statement, boolean isAtomic) throws java.sql.SQLException
InternalDriver
newEmbedResultSet
in class Driver40
conn
- Owning connectionresults
- Top level of language result set treeforMetaData
- Is this for meta-datastatement
- The statement that is creating the SQL ResultSetjava.sql.SQLException
public java.sql.CallableStatement newEmbedCallableStatement(EmbedConnection conn, java.lang.String stmt, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
newEmbedCallableStatement
in class Driver40
java.sql.SQLException
- if fails to create statementApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.