Пример #1
0
 protected void addIndex(JClass currentClass, String sOut, JIndex index) {
   constraints +=
       "\ncreate index "
           + index.getName()
           + " on "
           + currentClass.getTableName()
           + " ("
           + sOut
           + ");\n";
 }
Пример #2
0
 protected void cleanUpIndex(JClass currentClass, JIndex index) {
   cleanupConstraints += "\ndrop index " + index.getName() + ";\n";
 }