Documentation of 'org.apache.derby.iapi.jdbc.ConnectionContext' Java class
ConnectionContext
org.apache.derby.iapi.jdbc

Interface ConnectionContext



  • public interface ConnectionContext
    Interface-ized from EmbedConnectionContext. Some basic connection attributes that can be obtained from jdbc.
    • Method Detail

      • getNestedConnection

        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

        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
      • processInaccessibleDynamicResult

        boolean processInaccessibleDynamicResult(java.sql.ResultSet resultSet)
        Process the resultSet as a dynamic result for closure. The result set will have been created in a Java procedure. If the ResultSet is a valid dynamic ResultSet for this connection, then it is set up as a dynamic result which includes:
        • breaking its link with the JDBC connection that created it, since there is a good chance that connection was closed explicitly by the Java procedure.
        • marking its activation as single use to ensure the close of the ResultSet will close the activation.

        If the result set a valid dynamic result then false will be returned and no action made against it.

        Parameters:
        resultSet - ResultSet to process.
        Returns:
        True if this ResultSet was created by this connection and the result set is open. False otherwise.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.