Examples of sqlForCreateIndex()


Examples of er.extensions.jdbc.ERXSQLHelper.sqlForCreateIndex()

    if (create) {
      ERXSQLHelper helper = ERXSQLHelper.newSQLHelper(_database.adaptorChannel());
      if (indexName == null) {
        indexName = _defaultIndexName(false, _name, helper.columnNamesFromColumnIndexes(columnIndexes).toArray(new String[] {}));
      }
      String sql = helper.sqlForCreateIndex(indexName, _name, columnIndexes);
      ERXJDBCUtilities.executeUpdateScript(_database.adaptorChannel(), sql);
    }
    else {
      _indexes.addObject(new ERXMigrationIndex(indexName, false, columnIndexes));
    }
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.