From: zapata Date: Sat, 8 Jun 2002 22:16:49 +0000 (+0000) Subject: whoops... X-Git-Tag: prexmlproducerconfig~61 X-Git-Url: http://erislabs.net/gitweb/?p=mir.git;a=commitdiff_plain;h=ba516e7b82c557b25424da073a598cd6d2f71b28 whoops... --- diff --git a/source/mir/storage/Database.java b/source/mir/storage/Database.java index 703e6e20..a7c116b2 100755 --- a/source/mir/storage/Database.java +++ b/source/mir/storage/Database.java @@ -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; }