org.apache.derby.iapi.jdbc
Interface ConnectionContext

All Known Implementing Classes:
EmbedConnectionContext

public interface ConnectionContext

Interface-ized from EmbedConnectionContext. Some basic connection attributes that can be obtained from jdbc.

Author:
jamie

Field Summary
static java.lang.String CONTEXT_ID
           
 
Method Summary
 java.sql.Connection getNestedConnection(boolean internal)
          Get a new connection object equivalent to the call DriverManager.getConnection("jdbc:default:connection");
 java.sql.ResultSet getResultSet(ResultSet executionResultSet)
          Get a jdbc ResultSet based on the execution ResultSet.
 

Field Detail

CONTEXT_ID

public static final java.lang.String CONTEXT_ID
See Also:
Constant Field Values
Method Detail

getNestedConnection

public java.sql.Connection getNestedConnection(boolean internal)
                                        throws java.sql.SQLException
Get a new connection object equivalent to the call
                DriverManager.getConnection("jdbc:default:connection");
                

Throws:
java.sql.SQLException - Parent connection has been closed.

getResultSet

public java.sql.ResultSet getResultSet(ResultSet executionResultSet)
                                throws java.sql.SQLException
Get a jdbc ResultSet based on the execution ResultSet.

Parameters:
executionResultSet - a result set as gotten from execution
Throws:
java.sql.SQLException - on error

Built on Tue 2006-10-10 19:23:47+0200, from revision exported

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.