public boolean indexExists(String tableName,String columnName){
  try {
    resolveIndexFromName(tableName,columnName);
  }
 catch (  DatabaseException e) {
    return false;
  }
  return true;
}

public boolean indexExists ( String tableName , String columnName ) { try { resolveIndexFromName ( tableName , columnName ) ; } catch ( DatabaseException e ) { return false ; } return true ; }
perform a check to see if the database has an index on this ( table , column ) .
