sqlString = "SELECT customfieldid AS SearchFieldID, name AS DisplayName FROM customfield "
+ "WHERE recordtype = ?";
cvdal.setSqlQueryToNull();
cvdal.setSqlQuery(sqlString);
cvdal.setInt(1, tableId.intValue());
resultsCollection = cvdal.executeQuery();
} // end of else (if (tableID != Integer.parseInt(CUSTOM_FIELD_TABLEID)))
// iterate the results and populate the return HashMap
if (resultsCollection != null)
{
Iterator resultsIterator = resultsCollection.iterator();