summaryrefslogtreecommitdiffstats
path: root/Dozentenmodulserver/src/sql/SQL.java
diff options
context:
space:
mode:
authorTobias Spitzer2014-08-25 08:50:56 +0200
committerTobias Spitzer2014-08-25 08:50:56 +0200
commit83983b4b4d2e3ccc18b2327e17941cf00ecae7bb (patch)
tree9a6d172b8f737a23d24dd12ea50a01bd7d3a3a12 /Dozentenmodulserver/src/sql/SQL.java
parentRolle für die Rechteverwaltung in SessionData Model hinzugefügt (diff)
parentAusgaben hinzugefügt (diff)
downloadtutor-module-83983b4b4d2e3ccc18b2327e17941cf00ecae7bb.tar.gz
tutor-module-83983b4b4d2e3ccc18b2327e17941cf00ecae7bb.tar.xz
tutor-module-83983b4b4d2e3ccc18b2327e17941cf00ecae7bb.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tutor-module
Diffstat (limited to 'Dozentenmodulserver/src/sql/SQL.java')
-rw-r--r--Dozentenmodulserver/src/sql/SQL.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/Dozentenmodulserver/src/sql/SQL.java b/Dozentenmodulserver/src/sql/SQL.java
index f763eacd..a60cef59 100644
--- a/Dozentenmodulserver/src/sql/SQL.java
+++ b/Dozentenmodulserver/src/sql/SQL.java
@@ -760,7 +760,7 @@ public class SQL {
return 0;
} catch (SQLException e) {
// TODO Auto-generated catch block
- log.info(new Date() + " - Failed to UpdateImageData.");
+ log.info(new Date() + " - Failed to UpdateImagePath.");
e.printStackTrace();
}
return -1;
@@ -793,7 +793,7 @@ public class SQL {
try {
Connection con=getConnection();
Statement stm = con.createStatement();
- //log.info(new Date() + " - OS: "+os+" architecture: "+architecture);
+ log.info(new Date() + " - Getting PrimaryKey for OS: "+os+" architecture: "+architecture);
ResultSet rs=stm
.executeQuery("SELECT operatingSystemID FROM bwLehrpool.m_operatingSystem where name like '"
+ os
@@ -802,12 +802,13 @@ public class SQL {
+ "';");
rs.first();
String pkos=rs.getString("operatingSystemID");
+ log.info(new Date() + " - Key is "+pkos);
con.close();
return pkos;
} catch (SQLException e) {
// TODO Auto-generated catch block
- log.info(new Date() + " - Failed to getPathOfImage.");
+ log.info(new Date() + " - Failed to getOSpk.");
e.printStackTrace();
}
@@ -830,7 +831,7 @@ public class SQL {
} catch (SQLException e) {
// TODO Auto-generated catch block
- log.info(new Date() + " - Failed to getPathOfImage.");
+ log.info(new Date() + " - Failed to getOS.");
e.printStackTrace();
}
@@ -861,7 +862,7 @@ public class SQL {
return map;
} catch (SQLException e) {
// TODO Auto-generated catch block
- log.info(new Date() + " - Failed to getImageData.");
+ log.info(new Date() + " - Failed to getLectureData.");
e.printStackTrace();
}
return null;