From 095310a250091e3739ca52313a93d26727a2d459 Mon Sep 17 00:00:00 2001 From: Sewaaa Date: Fri, 22 Dec 2023 20:35:58 +0100 Subject: [PATCH] DAODisease v.1 --- src/main/java/model/DAO/DAODisease.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/model/DAO/DAODisease.java b/src/main/java/model/DAO/DAODisease.java index 1d1752f..c128ed7 100644 --- a/src/main/java/model/DAO/DAODisease.java +++ b/src/main/java/model/DAO/DAODisease.java @@ -14,8 +14,8 @@ private Condition getConditionFromResultSet(ResultSet resultSet) throws SQLExcep Condition condition = new Condition(); condition.setIdCondition(resultSet.getInt("ID")); - condition.setDisorderName(resultSet.getString("Name_Disorder")); - condition.setDisorderDescription(resultSet.getString("Disorder_Description")); + condition.setDisorderName(resultSet.getString("Name_Disorder")); //probabilmente nomi attrivuti sbagliati + condition.setDisorderDescription(resultSet.getString("Disorder_Description")); //probabilmente nomi attrivuti sbagliati return condition; }