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
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. |
CONTEXT_ID
public static final java.lang.String CONTEXT_ID
- See Also:
- Constant Field Values
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
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.