org.apache.derby.jdbc
Class Driver169
java.lang.Object
org.apache.derby.jdbc.InternalDriver
org.apache.derby.jdbc.Driver169
- All Implemented Interfaces:
- ModuleControl
- public class Driver169
- extends InternalDriver
Driver169 - JDBC "driver" for J2ME/CDC/Foundation/JSR169, really
the JDBC object factory for the JSR169 environment.
WORK IN PROGRESS
- Author:
- djd
Method Summary |
protected EmbedConnection |
getNewEmbedConnection(java.lang.String url,
java.util.Properties info)
|
java.sql.Connection |
getNewNestedConnection(EmbedConnection conn)
Get a new nested connection. |
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. |
java.sql.Statement |
newEmbedStatement(EmbedConnection conn,
boolean forMetaData,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
Methods inherited from class org.apache.derby.jdbc.InternalDriver |
acceptsURL, activeDriver, boot, connect, getAttributes, getAuthenticationService, getContextServiceFactory, getDatabaseName, getMajorVersion, getMinorVersion, isActive, jdbcCompliant, newEmbedDatabaseMetaData, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Driver169
public Driver169()
getNewEmbedConnection
protected EmbedConnection getNewEmbedConnection(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
- Specified by:
getNewEmbedConnection
in class InternalDriver
- Throws:
java.sql.SQLException
getNewNestedConnection
public java.sql.Connection getNewNestedConnection(EmbedConnection conn)
- Get a new nested connection.
- Specified by:
getNewNestedConnection
in class InternalDriver
- Parameters:
conn
- The EmbedConnection.
- Returns:
- A nested connection object.
newEmbedStatement
public java.sql.Statement newEmbedStatement(EmbedConnection conn,
boolean forMetaData,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
- Overrides:
newEmbedStatement
in class InternalDriver
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
- Specified by:
newEmbedPreparedStatement
in class InternalDriver
- Throws:
java.sql.SQLException
- if fails to create statement
newEmbedCallableStatement
public java.sql.CallableStatement newEmbedCallableStatement(EmbedConnection conn,
java.lang.String stmt,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws java.sql.SQLException
- Specified by:
newEmbedCallableStatement
in class InternalDriver
- Throws:
java.sql.SQLException
- if fails to create statement
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.
- Specified by:
newEmbedResultSet
in class InternalDriver
- 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:
java.sql.SQLException
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.