diff options
| author | Michael Wilson | 2014-11-18 14:35:41 +0100 |
|---|---|---|
| committer | Michael Wilson | 2014-11-18 14:35:41 +0100 |
| commit | 626a66929d5fcb78c99e6fbe281600205efd2152 (patch) | |
| tree | 98dc30d1afc51d74dd6d7420201f4672945c9f3b /dozentenmodulserver/src/main/java/sql | |
| parent | • Beim Bearbeiten eines Image oder einer Veranstaltung wurde bisher der aktue... (diff) | |
| download | tutor-module-626a66929d5fcb78c99e6fbe281600205efd2152.tar.gz tutor-module-626a66929d5fcb78c99e6fbe281600205efd2152.tar.xz tutor-module-626a66929d5fcb78c99e6fbe281600205efd2152.zip | |
• Ausgaben an sinnvollen gekürzt bzw. erweitert
Diffstat (limited to 'dozentenmodulserver/src/main/java/sql')
| -rw-r--r-- | dozentenmodulserver/src/main/java/sql/SQL.java | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dozentenmodulserver/src/main/java/sql/SQL.java b/dozentenmodulserver/src/main/java/sql/SQL.java index dd40c774..4334f854 100644 --- a/dozentenmodulserver/src/main/java/sql/SQL.java +++ b/dozentenmodulserver/src/main/java/sql/SQL.java @@ -114,7 +114,7 @@ public class SQL { return ret;
} catch (SQLException e) {
- log.info("Failed to DeleteUser.");
+ log.info("Failed to DeleteUser "+user+".");
e.printStackTrace();
}
return -1;
@@ -1159,7 +1159,7 @@ public class SQL { //if map is still empty, then the itemID could not be found
if(map.isEmpty()==true){
- log.error("ERROR: getItemOwner could not find the item with the ID '"+itemID+"'.");
+ log.error("Failed to getItemOwner for item '"+itemID+"'.");
} else {
//now that we have the userID for this item, get the user information and put it in the map
@@ -1642,7 +1642,7 @@ public class SQL { prest.executeUpdate();
con.commit();
con.close();
- log.info("Succeeded to updateLectureData.");
+ //log.info("Succeeded to updateLectureData.");
} catch (SQLException e) {
@@ -1819,7 +1819,7 @@ public class SQL { con.commit();
con.close();
- log.info("Succesfully updated image path");
+ //log.info("Succesfully updated image path");
return 0;
} catch (SQLException e) {
@@ -2048,7 +2048,7 @@ public class SQL { return id;
} catch (SQLException e) {
- log.info("Failed to LectureID.");
+ log.info("Failed to getLectureID.");
e.printStackTrace();
}
return id;
@@ -2390,7 +2390,7 @@ public class SQL { con.commit();
con.close();
- log.info("Written additional image rights.");
+ //log.info("Written additional image rights.");
} catch (SQLException e) {
@@ -2483,8 +2483,7 @@ public class SQL { con.commit();
con.close();
- log.info("Written additional lecture rights for '"
- + userID + "'.");
+ //log.info("Written additional lecture rights for '"+ userID + "'.");
} catch (SQLException e) {
e.printStackTrace();
|
