diff --git a/src/main/java/de/hitec/nhplus/medication/MedicationDao.java b/src/main/java/de/hitec/nhplus/medication/MedicationDao.java index 988b5d3..1c27561 100644 --- a/src/main/java/de/hitec/nhplus/medication/MedicationDao.java +++ b/src/main/java/de/hitec/nhplus/medication/MedicationDao.java @@ -23,8 +23,9 @@ public class MedicationDao extends DaoImp { try { StringJoiner SQL = new StringJoiner(";"); SQL.add( - "INSERT INTO medication (name, manufacturer, possibleSideEffects, administrationMethod, currentMethod) " + - "VALUES (?, ?, ?, ?, ?);" + "INSERT INTO medication " + + "(name, manufacturer, possibleSideEffects, administrationMethod, currentMethod) " + + "VALUES (?, ?, ?, ?, ?);" ); final ObservableList ingredients = medication.getIngredients(); for (int i = 0; i < ingredients.size(); i++) {