Package org.apache.derby.jdbc
Class Driver42
java.lang.Object
org.apache.derby.jdbc.InternalDriver
org.apache.derby.jdbc.Driver42
- All Implemented Interfaces:
Driver
,ModuleControl
Embedded JDBC driver for JDBC 4.2.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.derby.jdbc.InternalDriver
InternalDriver.LoginCallable
-
Field Summary
Fields inherited from class org.apache.derby.jdbc.InternalDriver
active
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a new BrokeredConnection for this implementation.newEmbedCallableStatement
(EmbedConnection conn, String stmt, int resultSetType, int resultSetConcurrency, int resultSetHoldability) newEmbedPreparedStatement
(EmbedConnection conn, String stmt, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, String[] columnNames) newEmbedResultSet
(EmbedConnection conn, ResultSet results, boolean forMetaData, EmbedStatement statement, boolean isAtomic) Return a new java.sql.ResultSet instance for this implementation.Methods inherited from class org.apache.derby.jdbc.InternalDriver
acceptsURL, activeDriver, boot, checkSystemPrivileges, connect, connect, embeddedDriverAcceptsURL, getAttributes, getAuthenticationService, getContextServiceFactory, getDatabaseName, getDeregister, getMajorVersion, getMinorVersion, getNewEmbedConnection, getNewNestedConnection, getNewPooledConnection, getNewXAConnection, getParentLogger, getPropertyInfo, isActive, jdbcCompliant, newEmbedDatabaseMetaData, newEmbedResultSetMetaData, newEmbedStatement, setDeregister, stop
-
Constructor Details
-
Driver42
public Driver42()
-
-
Method Details
-
newEmbedPreparedStatement
public PreparedStatement newEmbedPreparedStatement(EmbedConnection conn, String stmt, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, String[] columnNames) throws SQLException - Overrides:
newEmbedPreparedStatement
in classInternalDriver
- Throws:
SQLException
- if fails to create statement
-
newBrokeredConnection
public BrokeredConnection newBrokeredConnection(BrokeredConnectionControl control) throws SQLException Description copied from class:InternalDriver
Return a new BrokeredConnection for this implementation.- Overrides:
newBrokeredConnection
in classInternalDriver
- Throws:
SQLException
-
newEmbedResultSet
public EmbedResultSet newEmbedResultSet(EmbedConnection conn, ResultSet results, boolean forMetaData, EmbedStatement statement, boolean isAtomic) throws SQLException Description copied from class:InternalDriver
Return a new java.sql.ResultSet instance for this implementation.- Overrides:
newEmbedResultSet
in classInternalDriver
- Parameters:
conn
- Owning connectionresults
- Top level of language result set treeforMetaData
- Is this for meta-datastatement
- The statement that is creating the SQL ResultSetisAtomic
-- Returns:
- a new java.sql.ResultSet
- Throws:
SQLException
-
newEmbedCallableStatement
public CallableStatement newEmbedCallableStatement(EmbedConnection conn, String stmt, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - Overrides:
newEmbedCallableStatement
in classInternalDriver
- Throws:
SQLException
- if fails to create statement
-