Examples of drop()


Examples of org.apache.derby.iapi.sql.dictionary.TriggerDescriptor.drop()

          }
          else if (referencedColsInTriggerAction[j] == droppedColumnPosition)
          {
            if (cascade)
            {
                          trd.drop(lcc);
                          triggerDroppedAlready = true;
              activation.addWarning(
                StandardException.newWarning(
                                  SQLState.LANG_TRIGGER_DROPPED,
                                  trd.getName(), td.getName()));
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.TriggerDescriptor.drop()

      {
        if (se.getMessageId().equals(SQLState.LANG_COLUMN_NOT_FOUND))
        {
          if (cascade)
          {
                        trd.drop(lcc);
            activation.addWarning(
              StandardException.newWarning(
                                SQLState.LANG_TRIGGER_DROPPED,
                                trd.getName(), td.getName()));
            continue;
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.TriggerDescriptor.drop()

                }
        else if (referencedCols[j] == droppedColumnPosition)
        {
          if (cascade)
          {
                        trd.drop(lcc);
            activation.addWarning(
              StandardException.newWarning(
                                SQLState.LANG_TRIGGER_DROPPED,
                                trd.getName(), td.getName()));
          }
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.TriggerDescriptor.drop()

                }
        else if (referencedCols[j] == droppedColumnPosition)
        {
          if (cascade)
          {
                        trd.drop(lcc);
            activation.addWarning(
              StandardException.newWarning(
                                SQLState.LANG_TRIGGER_DROPPED,
                                trd.getName(), td.getName()));
          }
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.ViewDescriptor.drop()

      throw StandardException.newException(SQLState.LANG_DROP_VIEW_ON_NON_VIEW, fullTableName);
    }

    vd = dd.getViewDescriptor(td);

    vd.drop(lcc, sd, td);
  }
}
View Full Code Here

Examples of org.apache.derby.iapi.store.access.conglomerate.Conglomerate.drop()

    public void dropConglomerate(long conglomId)
    throws StandardException
  {
    Conglomerate conglom = findExistingConglomerate(conglomId);

    conglom.drop(this);

    if (conglomId < 0)
    {
      if (tempCongloms != null)
        tempCongloms.remove(new Long(conglomId));
View Full Code Here

Examples of org.apache.derby.iapi.store.access.conglomerate.Sort.drop()

                // element from the list.
                for (int i = sorts.size() - 1; i >= 0; i--)
                {
                    Sort sort = (Sort) sorts.get(i);
                    if (sort != null)
                        sort.drop(this);
                }
                sorts.clear();
                freeSortIds.clear();
            }
    }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.conglomerate.Sort.drop()

        // should call close on the sort.
        Sort sort = (Sort) sorts.get((int) sortid);

        if (sort != null)
        {
            sort.drop(this);
            sorts.set((int) sortid, null);
            freeSortIds.add(ReuseFactory.getInteger((int) sortid));
        }
    }
View Full Code Here

Examples of org.apache.directory.server.xdbm.Index.drop()

        assertTrue( cursor.next() );
        assertEquals( 6, ( long ) cursor.get().getId() );

        assertFalse( cursor.next() );

        idx.drop( 5L );

        cursor = idx.forwardCursor( 2L );

        assertTrue( cursor.next() );
        assertEquals( 2, ( long ) cursor.get().getId() );
View Full Code Here

Examples of org.apache.felix.scr.integration.components.SimpleService2Impl.drop()

        TestCase.assertEquals( "bindSimpleService2", comp10.getBindings().get( 1 ) );
        TestCase.assertEquals( "unbindSimpleService2", comp10.getBindings().get( 2 ) );
        TestCase.assertEquals( "unbindSimpleService", comp10.getBindings().get( 3 ) );

        srv1.drop();
        srv2.drop();
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.