Examples of dropTableDescriptor()


Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

      if (constraintDescriptor instanceof ReferencedKeyConstraintDescriptor)
        dm.invalidateFor(constraintDescriptor, DependencyManager.RENAME, lcc);
    }

    // Drop the table
    dd.dropTableDescriptor(td, sd, tc);
    // Change the table name of the table descriptor
    td.setTableName(newTableName);
    // add the table descriptor with new name
    dd.addDescriptor(td, sd, DataDictionary.SYSTABLES_CATALOG_NUM,
             false, tc);
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

     */

    dm.invalidateFor(td, DependencyManager.DROP_TABLE, lcc);

    /* Drop the table */
    dd.dropTableDescriptor(td, sd, tc);

    /* Drop the conglomerate descriptors */
    dd.dropAllConglomerateDescriptors(td, tc);

    /* Drop the store element at last, to prevent dangling reference
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

     */

    dm.invalidateFor(td, DependencyManager.DROP_TABLE, lcc);

    /* Drop the table */
    dd.dropTableDescriptor(td, sd, tc);

    /* Drop the conglomerate descriptors */
    dd.dropAllConglomerateDescriptors(td, tc);

    /* Drop the store element at last, to prevent dangling reference
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

    {
      // Drop the entry from SYSTABLES as well.
      DataDescriptorGenerator ddg = dd.getDataDescriptorGenerator();
      TableDescriptor td = ddg.newTableDescriptor(aliasName, sd,
        TableDescriptor.SYNONYM_TYPE, TableDescriptor.DEFAULT_LOCK_GRANULARITY);
      dd.dropTableDescriptor(td, sd, tc);
    }
    else
      dd.dropAllRoutinePermDescriptors(ad.getUUID(), tc);
     
    /* Drop the alias */
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

     */

    dm.invalidateFor(td, DependencyManager.DROP_TABLE, lcc);

    /* Drop the table */
    dd.dropTableDescriptor(td, sd, tc);

    /* Drop the conglomerate descriptors */
    dd.dropAllConglomerateDescriptors(td, tc);

    /* Drop the store element at last, to prevent dangling reference
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

      if (constraintDescriptor instanceof ReferencedKeyConstraintDescriptor)
        dm.invalidateFor(constraintDescriptor, DependencyManager.RENAME, lcc);
    }

    // Drop the table
    dd.dropTableDescriptor(td, sd, tc);
    // Change the table name of the table descriptor
    td.setTableName(newTableName);
    // add the table descriptor with new name
    dd.addDescriptor(td, sd, DataDictionary.SYSTABLES_CATALOG_NUM,
             false, tc);
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

        // Drop all of those dependencies now.
        //
        adjustUDTDependencies( lcc, dd, td, null, true );

    /* Drop the table */
    dd.dropTableDescriptor(td, sd, tc);

    /* Drop the conglomerate descriptors */
    dd.dropAllConglomerateDescriptors(td, tc);

    /* Drop the store element at last, to prevent dangling reference
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

        // Drop all of those dependencies now.
        //
        adjustUDTDependencies( lcc, dd, td, null, true );

    /* Drop the table */
    dd.dropTableDescriptor(td, sd, tc);

    /* Drop the conglomerate descriptors */
    dd.dropAllConglomerateDescriptors(td, tc);

    /* Drop the store element at last, to prevent dangling reference
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

      if (constraintDescriptor instanceof ReferencedKeyConstraintDescriptor)
        dm.invalidateFor(constraintDescriptor, DependencyManager.RENAME, lcc);
    }

    // Drop the table
    dd.dropTableDescriptor(td, sd, tc);
    // Change the table name of the table descriptor
    td.setTableName(newTableName);
    // add the table descriptor with new name
    dd.addDescriptor(td, sd, DataDictionary.SYSTABLES_CATALOG_NUM,
             false, tc);
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropTableDescriptor()

      if (constraintDescriptor instanceof ReferencedKeyConstraintDescriptor)
        dm.invalidateFor(constraintDescriptor, DependencyManager.RENAME, lcc);
    }

    // Drop the table
    dd.dropTableDescriptor(td, sd, tc);
    // Change the table name of the table descriptor
    td.setTableName(newTableName);
    // add the table descriptor with new name
    dd.addDescriptor(td, sd, DataDictionary.SYSTABLES_CATALOG_NUM,
             false, tc);
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.