public interface ConnectionContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTEXT_ID |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
processInaccessibleDynamicResult(java.sql.ResultSet resultSet)
Process the resultSet as a dynamic result for closure.
|
static final java.lang.String CONTEXT_ID
java.sql.Connection getNestedConnection(boolean internal) throws java.sql.SQLException
DriverManager.getConnection("jdbc:default:connection");
java.sql.SQLException
- Parent connection has been closed.java.sql.ResultSet getResultSet(ResultSet executionResultSet) throws java.sql.SQLException
executionResultSet
- a result set as gotten from executionjava.sql.SQLException
- on errorboolean processInaccessibleDynamicResult(java.sql.ResultSet resultSet)
If the result set a valid dynamic result then false will be returned and no action made against it.
resultSet
- ResultSet to process.Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.