diff options
| author | unknown | 2014-05-06 11:30:34 +0200 |
|---|---|---|
| committer | unknown | 2014-05-06 11:30:34 +0200 |
| commit | 434fa16f359e2f0e769ffcc226509638f37644c7 (patch) | |
| tree | e14441e9f7d2dd85210d1da738fa427326f20eb9 /Dozentenmodulserver/src/sql | |
| parent | Problem beim bearbeiten eines Image behoben. (diff) | |
| download | tutor-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.java | 3 |
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
|
