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
-
-
Constructor Summary
Constructors Constructor and Description Driver42()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description BrokeredConnectionnewBrokeredConnection(BrokeredConnectionControl control)Return a new BrokeredConnection for this implementation.java.sql.CallableStatementnewEmbedCallableStatement(EmbedConnection conn, java.lang.String stmt, int resultSetType, int resultSetConcurrency, int resultSetHoldability)java.sql.PreparedStatementnewEmbedPreparedStatement(EmbedConnection conn, java.lang.String stmt, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, java.lang.String[] columnNames)EmbedResultSetnewEmbedResultSet(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, getAuthenticationService, getContextServiceFactory, getDatabaseName, getMajorVersion, getMinorVersion, getNewNestedConnection, getParentLogger, getPropertyInfo, isActive, jdbcCompliant, newEmbedDatabaseMetaData, newEmbedResultSetMetaData, newEmbedStatement, 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:
newEmbedPreparedStatementin classInternalDriver- Throws:
java.sql.SQLException- if fails to create statement
-
newBrokeredConnection
public BrokeredConnection newBrokeredConnection(BrokeredConnectionControl control) throws java.sql.SQLException
Description copied from class:InternalDriverReturn a new BrokeredConnection for this implementation.- 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:InternalDriverReturn a new java.sql.ResultSet instance for this implementation.- Overrides:
newEmbedResultSetin 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:
newEmbedCallableStatementin classInternalDriver- Throws:
java.sql.SQLException- if fails to create statement
-
-
DataMelt 3.0 © DataMelt by jWork.ORG