Package nexj.core.meta.persistence.sql

Examples of nexj.core.meta.persistence.sql.RelationalSchema.removeTable()


   public void apply(RelationalSchemaUpgradeState state)
   {
      RelationalSchema schema = state.getSchema();

      m_table = schema.getTable(m_sName);
      schema.removeTable(m_table);
   }

   /**
    * @see nexj.core.meta.persistence.sql.upgrade.RelationalSchemaUpgradeStep#undo(nexj.core.meta.persistence.sql.upgrade.RelationalSchemaUpgradeState)
    */
 
View Full Code Here


   {
      final RelationalSchema schema = state.getSchema();

      if (!state.removeTable(m_sName))
      {
         schema.removeTable(schema.getTable(m_sName));
      }

      for (Iterator itr = m_indexMap.iterator(); itr.hasNext();)
      {
         state.removeIndex((String)itr.next());
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.