comparison 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
comparison
equal deleted inserted replaced
378:02f353f62abe 379:d7661075ebf7
332 typeMap.put("blob", Integer.valueOf(Types.BLOB)); 332 typeMap.put("blob", Integer.valueOf(Types.BLOB));
333 typeMap.put("boolean", Integer.valueOf(Types.BOOLEAN)); 333 typeMap.put("boolean", Integer.valueOf(Types.BOOLEAN));
334 typeMap.put("char", Integer.valueOf(Types.CHAR)); 334 typeMap.put("char", Integer.valueOf(Types.CHAR));
335 typeMap.put("clob", Integer.valueOf(Types.CLOB)); 335 typeMap.put("clob", Integer.valueOf(Types.CLOB));
336 typeMap.put("date", Integer.valueOf(Types.DATE)); 336 typeMap.put("date", Integer.valueOf(Types.DATE));
337 typeMap.put("day_interval", Integer.valueOf(Types.BIGINT)); // New as of Oct2020 release
337 typeMap.put("decimal", Integer.valueOf(Types.DECIMAL)); 338 typeMap.put("decimal", Integer.valueOf(Types.DECIMAL));
338 typeMap.put("double", Integer.valueOf(Types.DOUBLE)); 339 typeMap.put("double", Integer.valueOf(Types.DOUBLE));
339 // typeMap.put("geometry", Integer.valueOf(Types.???)); 340 // typeMap.put("geometry", Integer.valueOf(Types.???));
340 // typeMap.put("geometrya", Integer.valueOf(Types.???)); 341 // typeMap.put("geometrya", Integer.valueOf(Types.???));
341 typeMap.put("hugeint", Integer.valueOf(Types.NUMERIC)); 342 typeMap.put("hugeint", Integer.valueOf(Types.NUMERIC));