whoops...
authorzapata <zapata>
Sat, 8 Jun 2002 22:16:49 +0000 (22:16 +0000)
committerzapata <zapata>
Sat, 8 Jun 2002 22:16:49 +0000 (22:16 +0000)
source/mir/storage/Database.java

index 703e6e2..a7c116b 100755 (executable)
@@ -563,7 +563,7 @@ public class Database implements StorageObject {
 
                                theType = metadataTypes[i];
                                if (theType == java.sql.Types.LONGVARBINARY) {
-/*                                     InputStream us = rs.getAsciiStream(i + 1);
+                                       InputStream us = rs.getAsciiStream(i + 1);
                                        if (us != null) {
                                                InputStreamReader is = new InputStreamReader(us);
                                                char[] data = new char[32768];
@@ -580,7 +580,6 @@ public class Database implements StorageObject {
                                        else {
                                                theResult = null;
                                        }
-*/        theResult = null;
                                }
                                else {
                                        theResult = getValueAsString(rs, (i + 1), theType);
@@ -602,14 +601,14 @@ public class Database implements StorageObject {
       }
                } catch (IllegalAccessException e) {
                        throwStorageObjectException("Kein Zugriff! -- " + e.toString());
-/*             } catch (IOException e) {
+               } catch (IOException e) {
                        throwStorageObjectException("IOException! -- " + e.toString());
-*/             } catch (InstantiationException e) {
+               } catch (InstantiationException e) {
                        throwStorageObjectException("Keine Instantiiierung! -- " + e.toString());
-/*             } catch (SQLException sqe) {
+               } catch (SQLException sqe) {
                        throwSQLException(sqe, "makeEntityFromResultSet");
                        return  null;
-*/             }
+               }
                return  returnEntity;
        }