From 434fa16f359e2f0e769ffcc226509638f37644c7 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 6 May 2014 11:30:34 +0200 Subject: Fehler behoben: -Font angepasst -CloseConnection hinzugefügt beim bearbeiten einer Lecture -getInt umgestellt auf getString in updateLectureData aufgrund von UUID-Umstellung -Log-Ausgabe korrigiert beim Update einer Lecture --- Dozentenmodulserver/src/sql/SQL.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Dozentenmodulserver/src/sql') diff --git a/Dozentenmodulserver/src/sql/SQL.java b/Dozentenmodulserver/src/sql/SQL.java index a5eeb83e..36aadd89 100644 --- a/Dozentenmodulserver/src/sql/SQL.java +++ b/Dozentenmodulserver/src/sql/SQL.java @@ -473,7 +473,7 @@ public class SQL { return false; } - public int updateLectureData(Connection con, int pk_image, + public int updateLectureData(Connection con, String pk_image, int imageversion, String name, String newName, String desc, String shortdesc, String start, String end, boolean isactive, String id) { @@ -504,6 +504,7 @@ public class SQL { + formatter.format(new Date()) + "'WHERE `lectureID` = '" + id + "';"); con.commit(); + log.info(new Date() + " - Succeeded to updateLectureData."); } catch (SQLException e) { // TODO Auto-generated catch block -- cgit v1.2.3-55-g7522