diff options
Diffstat (limited to 'Dozentenmodulserver/src/sql/SQL.java')
| -rw-r--r-- | Dozentenmodulserver/src/sql/SQL.java | 11 |
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;
|
