Package nexj.core.meta.persistence.sql

Examples of nexj.core.meta.persistence.sql.Table.removeColumn()


         !state.containsTable(m_sTableName))
      {
         RelationalSchema schema = state.getSchema();
         Table table = schema.getTable(m_sTableName);

         table.removeColumn(table.getColumn(sColumnName));

         if (table.isAspect())
         {
            for (Iterator itr = schema.getTableIterator(); itr.hasNext();)
            {
View Full Code Here


            {
               Table pointcut = (Table)itr.next();

               if (pointcut.hasAspect(table) && !state.removeColumn(pointcut.getName(), sColumnName))
               {
                  pointcut.removeColumn(pointcut.getColumn(sColumnName));
               }
            }
         }
      }
   }
View Full Code Here

   {
      RelationalSchema schema = state.getSchema();
      Table table = schema.getTable(m_sTableName);

      m_column = table.getColumn(m_sName);
      table.removeColumn(m_column);

      if (table.isAspect())
      {
         for (Iterator itr = schema.getTableIterator(); itr.hasNext();)
         {
View Full Code Here

         {
            Table pointcut = (Table)itr.next();

            if (pointcut.hasAspect(table))
            {
               pointcut.removeColumn(pointcut.getColumn(m_sName));
            }
         }
      }
   }
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.