Examples of truncateSchema()


Examples of nexj.core.persistence.sql.SQLSchemaManager.truncateSchema()

         generateInsertScript();
      }
      else if (sCommand.equals("truncate"))
      {
         manager = getSchemaManager();
         manager.truncateSchema(getSchema());
      }
      else if (sCommand.equals("upgrade"))
      {
         manager = getSchemaManager();
         manager.upgrade(getSchema(), getProperty("meta.start"));
View Full Code Here

Examples of nexj.core.persistence.sql.SQLSchemaManager.truncateSchema()

                     s_logger.debug("Deleting data in data source \"" + dataSource.getName() + '"');
                  }

                  connection = adapter.getConnectionFactory().getConnection(adapter);
                  manager.setSQLAppender(new SQLSchemaManager.SQLConnectionAppender(connection, true));
                  manager.truncateSchema(schema);

                  if (s_logger.isDebugEnabled())
                  {
                     s_logger.debug("Deletion completed");
                  }
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.