diff options
| author | unknown | 2014-04-15 11:46:39 +0200 |
|---|---|---|
| committer | unknown | 2014-04-15 11:46:39 +0200 |
| commit | 1f28f4c2ebfd4c6631581b8af54017c8833bb9c8 (patch) | |
| tree | bd02c7222bd02ae99087b6a6cd6dabcb137362b2 | |
| parent | Verbindung korrigiert (diff) | |
| download | tutor-module-1f28f4c2ebfd4c6631581b8af54017c8833bb9c8.tar.gz tutor-module-1f28f4c2ebfd4c6631581b8af54017c8833bb9c8.tar.xz tutor-module-1f28f4c2ebfd4c6631581b8af54017c8833bb9c8.zip | |
rthf
| -rw-r--r-- | Dozentenmodul/bin/thrift/ThriftConnection.class | bin | 1928 -> 1960 bytes | |||
| -rw-r--r-- | Dozentenmodul/src/thrift/ThriftConnection.java | 6 | ||||
| -rw-r--r-- | Dozentenmodulserver/bin/sql/SQL.class | bin | 15418 -> 15502 bytes | |||
| -rw-r--r-- | Dozentenmodulserver/src/sql/SQL.java | 8 |
4 files changed, 8 insertions, 6 deletions
diff --git a/Dozentenmodul/bin/thrift/ThriftConnection.class b/Dozentenmodul/bin/thrift/ThriftConnection.class Binary files differindex fa1d8d58..60c83535 100644 --- a/Dozentenmodul/bin/thrift/ThriftConnection.class +++ b/Dozentenmodul/bin/thrift/ThriftConnection.class diff --git a/Dozentenmodul/src/thrift/ThriftConnection.java b/Dozentenmodul/src/thrift/ThriftConnection.java index 058128a4..ee576780 100644 --- a/Dozentenmodul/src/thrift/ThriftConnection.java +++ b/Dozentenmodul/src/thrift/ThriftConnection.java @@ -22,7 +22,8 @@ public class ThriftConnection { try { transport.open(); } catch (TTransportException e) { - System.out.println("Keine Verbindung möglich!"); + System.out.println("Keine Verbindung möglich! Satellit="+satAddress); + //System.out.println("Keine Verbindung möglich! Satellit="); return null; } @@ -30,7 +31,8 @@ public class ThriftConnection { final Server.Client client = new Server.Client(protocol); - System.out.println("Verbindung wurde aufgebaut. Satellit="+satAddress); + System.out.println("Verbindung zu "+satAddress+" wurde aufgebaut."); + //System.out.println("Verbindung wurde aufgebaut."); return client; } diff --git a/Dozentenmodulserver/bin/sql/SQL.class b/Dozentenmodulserver/bin/sql/SQL.class Binary files differindex 88cc19e7..90b1741d 100644 --- a/Dozentenmodulserver/bin/sql/SQL.class +++ b/Dozentenmodulserver/bin/sql/SQL.class diff --git a/Dozentenmodulserver/src/sql/SQL.java b/Dozentenmodulserver/src/sql/SQL.java index 5ae5fde0..7b4920bd 100644 --- a/Dozentenmodulserver/src/sql/SQL.java +++ b/Dozentenmodulserver/src/sql/SQL.java @@ -443,16 +443,16 @@ public class SQL { public boolean deleteImage(Connection con, String id, String version) {
- System.out.println("delete image");
+ System.out.println("Deleting image...");
try {
-
+ System.out.println("Statement created");
Statement stm = con.createStatement();
- System.out.println("delete image");
+ System.out.println("Deleting...");
stm.executeUpdate("DELETE FROM bwLehrpool.m_VLData_imageInfo where GUID_imageID = '"
+ id + "' " + "AND imageVersion = '" + version + "';");
-
+ System.out.println("Deleted");
return true;
} catch (SQLException e) {
|
