//Query query2 = pm.newQuery("select from " + Patient.class.getName() + " where firstname.toLowerCase() == 'hoa'");
//List<Patient> patients = (List<Patient>)query2.execute();
result = parseEntityDisplay(patients);
} catch(Exception e) {
throw new ServerException(e.toString());
} finally {
pm.close();
}
}
return result;