# HG changeset patch # User Martin van Dinther <martin.van.dinther@monetdbsolutions.com> # Date 1665602410 -7200 # Node ID c8f7781a414e77f28bf3895b256f283030af8c08 # Parent 7ec8d469fd0b1bcd21f73e2d44f17f243e768135 For blob result columns it did not return the proper class name. With getCanonicalName() it does. 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) {