Mercurial > hg > monetdb-java
comparison src/main/java/org/monetdb/jdbc/MonetDriver.java.in @ 415:50e43af49d47
Improved DatabaseMetaData.getTypeInfo() output for temporal data types: sec_interval, day_interval, month_interval, date, time, timetz, timestamp and timestamptz.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Fri, 15 Jan 2021 00:50:29 +0100 (2021-01-14) |
parents | 1e278695fe54 |
children | 3dfcd06fd8ba |
comparison
equal
deleted
inserted
replaced
414:1e278695fe54 | 415:50e43af49d47 |
---|---|
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("day_interval", Integer.valueOf(Types.NUMERIC)); // New as of Oct2020 release |
338 typeMap.put("decimal", Integer.valueOf(Types.DECIMAL)); | 338 typeMap.put("decimal", Integer.valueOf(Types.DECIMAL)); |
339 typeMap.put("double", Integer.valueOf(Types.DOUBLE)); | 339 typeMap.put("double", Integer.valueOf(Types.DOUBLE)); |
340 // typeMap.put("geometry", Integer.valueOf(Types.???)); | 340 // typeMap.put("geometry", Integer.valueOf(Types.???)); |
341 // typeMap.put("geometrya", Integer.valueOf(Types.???)); | 341 // typeMap.put("geometrya", Integer.valueOf(Types.???)); |
342 typeMap.put("hugeint", Integer.valueOf(Types.NUMERIC)); | 342 typeMap.put("hugeint", Integer.valueOf(Types.NUMERIC)); |