Package org.apache.derby.jdbc
Class Driver42
- java.lang.Object
-
- org.apache.derby.jdbc.InternalDriver
-
- org.apache.derby.jdbc.Driver42
-
- All Implemented Interfaces:
java.sql.Driver
,ModuleControl
public class Driver42 extends InternalDriver
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 Constructor Description Driver42()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrokeredConnection
newBrokeredConnection(BrokeredConnectionControl control)
Return a new BrokeredConnection for this implementation.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.-
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
-
-
-
-
Method Detail
-
newEmbedPreparedStatement
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
- Overrides:
newEmbedPreparedStatement
in classInternalDriver
- Throws:
java.sql.SQLException
- if fails to create statement
-
newBrokeredConnection
public BrokeredConnection newBrokeredConnection(BrokeredConnectionControl control) throws java.sql.SQLException
Description copied from class:InternalDriver
Return a new BrokeredConnection for this implementation.- Overrides:
newBrokeredConnection
in classInternalDriver
- Throws:
java.sql.SQLException
-
newEmbedResultSet
public EmbedResultSet newEmbedResultSet(EmbedConnection conn, ResultSet results, boolean forMetaData, EmbedStatement statement, boolean isAtomic) throws java.sql.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 ResultSet- Returns:
- a new java.sql.ResultSet
- Throws:
java.sql.SQLException
-
newEmbedCallableStatement
public java.sql.CallableStatement newEmbedCallableStatement(EmbedConnection conn, java.lang.String stmt, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
- Overrides:
newEmbedCallableStatement
in classInternalDriver
- Throws:
java.sql.SQLException
- if fails to create statement
-
-