Examples of statementsToModifyColumnNullRule()


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

   *             if the change fails
   */
  @SuppressWarnings("unchecked")
  public void setAllowsNull(boolean allowsNull) throws SQLException {
    EOSchemaSynchronization schemaSynchronization = _table.database().synchronizationFactory();
    NSArray<EOSQLExpression> expressions = schemaSynchronization.statementsToModifyColumnNullRule(name(), _table.name(), allowsNull, NSDictionary.EmptyDictionary);
    ERXMigrationDatabase._ensureNotEmpty(expressions, "modify allows null", true);
    ERXJDBCUtilities.executeUpdateScript(_table.database().adaptorChannel(), ERXMigrationDatabase._stringsForExpressions(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.