Examples of statementsToRenameColumnNamed()


Examples of com.webobjects.eoaccess.EOSchemaSynchronization.statementsToRenameColumnNamed()

   * @return an array of EOSQLExpressions for renaming this column
   */
  @SuppressWarnings("unchecked")
  public NSArray<EOSQLExpression> _renameToExpressions(String newName) {
    EOSchemaSynchronization schemaSynchronization = _table.database().synchronizationFactory();
    NSArray<EOSQLExpression> expressions = schemaSynchronization.statementsToRenameColumnNamed(name(), _table.name(), newName, NSDictionary.EmptyDictionary);
    ERXMigrationDatabase._ensureNotEmpty(expressions, "rename column", true);
    _setName(newName);
    return expressions;
  }

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.