Changeset: c8f7781a414e for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java/rev/c8f7781a414e
Modified Files:
src/main/java/org/monetdb/jdbc/MonetResultSet.java
Branch: default
Log Message:
For blob result columns it did not return the proper class name. With
getCanonicalName() it does.
diffs (12 lines):
diff --git a/src/main/java/org/monetdb/jdbc/MonetResultSet.java
b/src/main/java/org/monetdb/jdbc/MonetResultSet.java
--- a/src/main/java/org/monetdb/jdbc/MonetResultSet.java
+++ b/src/main/java/org/monetdb/jdbc/MonetResultSet.java
@@ -1902,7 +1902,7 @@ public class MonetResultSet
type =
getClassForType(JdbcSQLTypes[column - 1]);
}
if (type != null) {
- return type.getName();
+ return type.getCanonicalName();
}
throw new SQLException("column type
mapping null: " + MonetDBType, "M0M03");
} catch (IndexOutOfBoundsException e) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]