annotate ChangeLog @ 18:8e57d20b5e80

Corrected implementation of java.sql.Wrapper methods isWrapperFor() and unwrap(). They now properly return expected results instead of always return false or throw an SQLException. Added test program Test_Wrapper.java
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 13 Oct 2016 16:31:08 +0200 (2016-10-13)
parents 6e48d0fae766
children c2bf983dc79b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
1 # ChangeLog file for java
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
2 # This file is updated with Maddlog
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
3
18
8e57d20b5e80 Corrected implementation of java.sql.Wrapper methods isWrapperFor() and unwrap().
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 15
diff changeset
4 * Thu Oct 13 2016 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
8e57d20b5e80 Corrected implementation of java.sql.Wrapper methods isWrapperFor() and unwrap().
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 15
diff changeset
5 - Corrected implementation of java.sql.Wrapper methods isWrapperFor()
8e57d20b5e80 Corrected implementation of java.sql.Wrapper methods isWrapperFor() and unwrap().
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 15
diff changeset
6 and unwrap(). They now properly return expected results instead of
8e57d20b5e80 Corrected implementation of java.sql.Wrapper methods isWrapperFor() and unwrap().
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 15
diff changeset
7 always return false or throw an SQLException.
8e57d20b5e80 Corrected implementation of java.sql.Wrapper methods isWrapperFor() and unwrap().
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 15
diff changeset
8
14
3fa949cbc783 Implemented Statement methods: getQueryTimeout() and setQueryTimeout(int seconds).
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 9
diff changeset
9 * Thu Oct 6 2016 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
15
6e48d0fae766 Corrected return values of DatabaseMetaData methods nullsAreSortedHigh(), nullsAreSortedLow(),
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 14
diff changeset
10 - Corrected return values of DatabaseMetaData methods nullsAreSortedHigh(),
6e48d0fae766 Corrected return values of DatabaseMetaData methods nullsAreSortedHigh(), nullsAreSortedLow(),
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 14
diff changeset
11 nullsAreSortedLow(), getMaxCursorNameLength(), getMaxProcedureNameLength(),
6e48d0fae766 Corrected return values of DatabaseMetaData methods nullsAreSortedHigh(), nullsAreSortedLow(),
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 14
diff changeset
12 getMaxStatementLength() and getMaxUserNameLength().
6e48d0fae766 Corrected return values of DatabaseMetaData methods nullsAreSortedHigh(), nullsAreSortedLow(),
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 14
diff changeset
13 Improved return values of DatabaseMetaData methods getMaxBinaryLiteralLength(),
6e48d0fae766 Corrected return values of DatabaseMetaData methods nullsAreSortedHigh(), nullsAreSortedLow(),
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 14
diff changeset
14 getMaxCharLiteralLength() and getMaxColumnsInTable().
14
3fa949cbc783 Implemented Statement methods: getQueryTimeout() and setQueryTimeout(int seconds).
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 9
diff changeset
15 - Implemented Statement methods: getQueryTimeout() and setQueryTimeout(int
3fa949cbc783 Implemented Statement methods: getQueryTimeout() and setQueryTimeout(int seconds).
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 9
diff changeset
16 seconds). getQueryTimeout() used to always return 0, now it returns the
3fa949cbc783 Implemented Statement methods: getQueryTimeout() and setQueryTimeout(int seconds).
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 9
diff changeset
17 query timeout retrieved from the server. setQueryTimeout(int seconds)
3fa949cbc783 Implemented Statement methods: getQueryTimeout() and setQueryTimeout(int seconds).
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 9
diff changeset
18 used to always throw SQLException: query time outs not supported.
3fa949cbc783 Implemented Statement methods: getQueryTimeout() and setQueryTimeout(int seconds).
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 9
diff changeset
19 Now it sets the query timeout for the current connection/session on
3fa949cbc783 Implemented Statement methods: getQueryTimeout() and setQueryTimeout(int seconds).
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 9
diff changeset
20 the server.
3fa949cbc783 Implemented Statement methods: getQueryTimeout() and setQueryTimeout(int seconds).
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 9
diff changeset
21
9
c37a76cc1e6e Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(), getInt(), getLong(), getFloat() and getDouble()
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 6
diff changeset
22 * Thu Sep 29 2016 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
c37a76cc1e6e Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(), getInt(), getLong(), getFloat() and getDouble()
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 6
diff changeset
23 - Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(),
c37a76cc1e6e Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(), getInt(), getLong(), getFloat() and getDouble()
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 6
diff changeset
24 getInt(), getLong(), getFloat() and getDouble() in case the conversion
c37a76cc1e6e Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(), getInt(), getLong(), getFloat() and getDouble()
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 6
diff changeset
25 to the native type failed due to a Number Format conversion error.
c37a76cc1e6e Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(), getInt(), getLong(), getFloat() and getDouble()
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 6
diff changeset
26 It used to silently ignore the conversion error and return 0 instead,
c37a76cc1e6e Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(), getInt(), getLong(), getFloat() and getDouble()
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 6
diff changeset
27 which is not correct. Now it throws an SQLException with message
c37a76cc1e6e Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(), getInt(), getLong(), getFloat() and getDouble()
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 6
diff changeset
28 "Could not convert value to a number." and SQLstate "22003" meaning:
c37a76cc1e6e Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(), getInt(), getLong(), getFloat() and getDouble()
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 6
diff changeset
29 Numeric value out of range.
c37a76cc1e6e Corrected ResultSet methods: getByte(), getBigDecimal(), getShort(), getInt(), getLong(), getFloat() and getDouble()
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 6
diff changeset
30
6
2165c6f838fe Add info to Changelog regarding changeset b07b4940c3ed
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 4
diff changeset
31 * Thu Sep 22 2016 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
2165c6f838fe Add info to Changelog regarding changeset b07b4940c3ed
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 4
diff changeset
32 - Improved JdbcClient program when doing dump of table definition. It now
2165c6f838fe Add info to Changelog regarding changeset b07b4940c3ed
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 4
diff changeset
33 outputs CREATE TABLE definition more similar to mclient program.
2165c6f838fe Add info to Changelog regarding changeset b07b4940c3ed
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 4
diff changeset
34
0
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
35 * Thu Sep 15 2016 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
36 - Improved performance of following JDBC ResultSet and ResultSetMetaData
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
37 methods:
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
38 - ResultSet.getBoolean(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
39 - ResultSet.getBinaryStream(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
40 - ResultSet.getBytes(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
41 - ResultSet.getObject(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
42 - ResultSet.getObject(column, map)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
43 - ResultSet.getDate(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
44 - ResultSet.getTime(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
45 - ResultSet.getTimestamp(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
46 - ResultSet.getDate(column, calendar)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
47 - ResultSet.getTime(column, calendar)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
48 - ResultSet.getTimestamp(column, calendar)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
49 - ResultSetMetaData.getColumnClassName(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
50 - ResultSetMetaData.getColumnType(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
51 - ResultSetMetaData.isCaseSensitive(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
52 - ResultSetMetaData.isSigned(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
53 - ResultSetMetaData.getPrecision(column)
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
54
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
55 * Thu Sep 8 2016 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
56 - Improved JdbcClient program by fixing some resource leaks.
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
57 - Extended JdbcClient program by showing elapsed time information for each
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
58 query or command when started in interactive mode (no -f was used at startup).
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
59
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
60 * Thu Sep 1 2016 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
61 - Improved fetching and output speed of JdbcClient program for query results.
a5a898f6886c Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
62
4
29b8dc4473b5 Updated changelog regarding changes made in https://dev.monetdb.org/hg/MonetDB/rev/1f2731776e1b
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 0
diff changeset
63 * Thu Aug 11 2016 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
29b8dc4473b5 Updated changelog regarding changes made in https://dev.monetdb.org/hg/MonetDB/rev/1f2731776e1b
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 0
diff changeset
64 - Improved performance of method ResultSet.getObject(column_ID) significantly.
29b8dc4473b5 Updated changelog regarding changes made in https://dev.monetdb.org/hg/MonetDB/rev/1f2731776e1b
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 0
diff changeset
65