Package org.apache.derby.iapi.sql

Examples of org.apache.derby.iapi.sql.Activation


   */
  public ResultSet getUpdateResultSet(NoPutResultSet source,
                    GeneratedMethod checkGM)
      throws StandardException
  {
    Activation activation = source.getActivation();
    //The stress test failed with null pointer exception in here once and then
    //it didn't happen again. It can be a jit problem because after this null
    //pointer exception, the cleanup code in UpdateResultSet got a null
    //pointer exception too which can't happen since the cleanup code checks
    //for null value before doing anything.
View Full Code Here


    @exception StandardException thrown on error
   */
  public ResultSet getUpdateVTIResultSet(NoPutResultSet source)
      throws StandardException
  {
    Activation activation = source.getActivation();
    getAuthorizer(activation).authorize(activation, Authorizer.SQL_WRITE_OP);
    return new UpdateVTIResultSet(source, activation);
  }
View Full Code Here

                           GeneratedMethod checkGM,
                           int constantActionItem,
                           int rsdItem)
      throws StandardException
  {
    Activation activation = source.getActivation();
    getAuthorizer(activation).authorize(activation, Authorizer.SQL_WRITE_OP);
    return new UpdateResultSet(source, checkGM, activation,
                   constantActionItem, rsdItem);
  }
View Full Code Here

   */
  public ResultSet getInsertResultSet(NoPutResultSet source,
                    GeneratedMethod checkGM)
    throws StandardException
  {
    Activation activation = source.getActivation();
    getAuthorizer(activation).authorize(activation, Authorizer.SQL_WRITE_OP);
    return new InsertResultSet(source, checkGM, activation );
  }
View Full Code Here

  public ResultSet getInsertVTIResultSet(NoPutResultSet source,
                    NoPutResultSet vtiRS
                    )
    throws StandardException
  {
    Activation activation = source.getActivation();
    getAuthorizer(activation).authorize(activation, Authorizer.SQL_WRITE_OP);
    return new InsertVTIResultSet(source, vtiRS, activation );
  }
View Full Code Here

    @exception StandardException thrown on error
   */
  public ResultSet getDeleteVTIResultSet(NoPutResultSet source)
    throws StandardException
  {
    Activation activation = source.getActivation();
    getAuthorizer(activation).authorize(activation, Authorizer.SQL_WRITE_OP);
    return new DeleteVTIResultSet(source, activation);
  }
View Full Code Here

    @exception StandardException thrown on error
   */
  public ResultSet getDeleteResultSet(NoPutResultSet source)
      throws StandardException
  {
    Activation activation = source.getActivation();
    getAuthorizer(activation).authorize(activation, Authorizer.SQL_WRITE_OP);
    return new DeleteResultSet(source, activation );
  }
View Full Code Here

                         int constantActionItem,
                         ResultSet[] dependentResultSets,
                         String resultSetId)
    throws StandardException
  {
    Activation activation = source.getActivation();
    getAuthorizer(activation).authorize(activation, Authorizer.SQL_WRITE_OP);
    return new DeleteCascadeResultSet(source, activation,
                      constantActionItem,
                      dependentResultSets,
                      resultSetId);
View Full Code Here

   */
  public ResultSet getUpdateResultSet(NoPutResultSet source,
                    GeneratedMethod checkGM)
      throws StandardException
  {
    Activation activation = source.getActivation();
    //The stress test failed with null pointer exception in here once and then
    //it didn't happen again. It can be a jit problem because after this null
    //pointer exception, the cleanup code in UpdateResultSet got a null
    //pointer exception too which can't happen since the cleanup code checks
    //for null value before doing anything.
View Full Code Here

    @exception StandardException thrown on error
   */
  public ResultSet getUpdateVTIResultSet(NoPutResultSet source)
      throws StandardException
  {
    Activation activation = source.getActivation();
    getAuthorizer(activation).authorize(activation, Authorizer.SQL_WRITE_OP);
    return new UpdateVTIResultSet(source, activation);
  }
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.sql.Activation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.