diff src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java.in @ 379:d7661075ebf7

Add support for new (as of Oct2020 release) datatype: day_interval
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Wed, 07 Oct 2020 16:31:49 +0200 (2020-10-07)
parents 34ce6e1b1be8
children bf521f343172
line wrap: on
line diff
--- a/src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java.in
+++ b/src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java.in
@@ -334,6 +334,7 @@ final public class MonetDriver implement
 		typeMap.put("char", Integer.valueOf(Types.CHAR));
 		typeMap.put("clob", Integer.valueOf(Types.CLOB));
 		typeMap.put("date", Integer.valueOf(Types.DATE));
+		typeMap.put("day_interval", Integer.valueOf(Types.BIGINT));	// New as of Oct2020 release
 		typeMap.put("decimal", Integer.valueOf(Types.DECIMAL));
 		typeMap.put("double", Integer.valueOf(Types.DOUBLE));
 		// typeMap.put("geometry", Integer.valueOf(Types.???));