Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbate committed Nov 8, 2024
1 parent 4bf47c2 commit 6d53ef7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ public PatientType readPatientType(String idString) {
public List<PatientType> getPatientTypes(String description) throws LIMSRuntimeException {
List<PatientType> list = new Vector<>();
try {
String sql = "from PatientType l where upper(l.description) like upper(:param) order by upper(l.description)";
String sql = "from PatientType l where upper(l.description) like upper(:param) order by "
+ "upper(l.description)";

org.hibernate.query.Query query = entityManager.unwrap(Session.class).createQuery(sql);
query.setParameter("param", description + "%");
Expand Down

0 comments on commit 6d53ef7

Please sign in to comment.