summaryrefslogtreecommitdiffstats
path: root/Dozentenmodulserver/src/sql
diff options
context:
space:
mode:
authorunknown2014-05-06 11:30:34 +0200
committerunknown2014-05-06 11:30:34 +0200
commit434fa16f359e2f0e769ffcc226509638f37644c7 (patch)
treee14441e9f7d2dd85210d1da738fa427326f20eb9 /Dozentenmodulserver/src/sql
parentProblem beim bearbeiten eines Image behoben. (diff)
downloadtutor-module-434fa16f359e2f0e769ffcc226509638f37644c7.tar.gz
tutor-module-434fa16f359e2f0e769ffcc226509638f37644c7.tar.xz
tutor-module-434fa16f359e2f0e769ffcc226509638f37644c7.zip
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
Diffstat (limited to 'Dozentenmodulserver/src/sql')
-rw-r--r--Dozentenmodulserver/src/sql/SQL.java3
1 files changed, 2 insertions, 1 deletions
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