projects
/
mir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2b178c7
)
whoops...
author
zapata
<zapata>
Sat, 8 Jun 2002 22:16:49 +0000
(22:16 +0000)
committer
zapata
<zapata>
Sat, 8 Jun 2002 22:16:49 +0000
(22:16 +0000)
source/mir/storage/Database.java
patch
|
blob
|
history
diff --git
a/source/mir/storage/Database.java
b/source/mir/storage/Database.java
index
703e6e2
..
a7c116b
100755
(executable)
--- 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) {
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];
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;
}
else {
theResult = null;
}
-*/ theResult = null;
}
else {
theResult = getValueAsString(rs, (i + 1), theType);
}
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 (IllegalAccessException e) {
throwStorageObjectException("Kein Zugriff! -- " + e.toString());
-
/*
} catch (IOException e) {
+
} catch (IOException e) {
throwStorageObjectException("IOException! -- " + e.toString());
throwStorageObjectException("IOException! -- " + e.toString());
-
*/
} catch (InstantiationException e) {
+
} catch (InstantiationException e) {
throwStorageObjectException("Keine Instantiiierung! -- " + e.toString());
throwStorageObjectException("Keine Instantiiierung! -- " + e.toString());
-
/*
} catch (SQLException sqe) {
+
} catch (SQLException sqe) {
throwSQLException(sqe, "makeEntityFromResultSet");
return null;
throwSQLException(sqe, "makeEntityFromResultSet");
return null;
-
*/
}
+
}
return returnEntity;
}
return returnEntity;
}