Package er.extensions.jdbc

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


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