java.sql.Driver
, ModuleControl
public class Driver42 extends InternalDriver
Embedded JDBC driver for JDBC 4.2.
InternalDriver.LoginCallable
active
Constructor | Description |
---|---|
Driver42() |
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.
|
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
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 InternalDriver
java.sql.SQLException
- if fails to create statementpublic BrokeredConnection newBrokeredConnection(BrokeredConnectionControl control) throws java.sql.SQLException
InternalDriver
newBrokeredConnection
in class InternalDriver
java.sql.SQLException
public EmbedResultSet newEmbedResultSet(EmbedConnection conn, ResultSet results, boolean forMetaData, EmbedStatement statement, boolean isAtomic) throws java.sql.SQLException
InternalDriver
newEmbedResultSet
in class InternalDriver
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 InternalDriver
java.sql.SQLException
- if fails to create statementApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.