Commit 2f077ad8 authored by Stefan Michel's avatar Stefan Michel

resultSet wird gecloseed

parent f1167ffe
......@@ -52,6 +52,7 @@ public class DerbyDatabase {
printResultSet(stmt.executeQuery("SELECT * FROM EXAMPLETAGS"));
resultSet.close();
stmt.close();
conn.close();
System.out.println("Ende");
......@@ -124,6 +125,7 @@ public class DerbyDatabase {
exampleList.add(resultSet.getString(1));
}
resultSet.close();
preparedStatement.close();
conn.close();
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment