Mercurial > hg > monetdb-java
comparison ChangeLog-Archive @ 189:1834e6339279
Updated ChangeLogs and minor release numbers for both MCL and JDBC driver in preparation for new releases.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 19 Oct 2017 18:04:39 +0200 (2017-10-19) |
parents | f97c111db06f |
children | 60334b96df18 |
comparison
equal
deleted
inserted
replaced
188:6cad43917d6e | 189:1834e6339279 |
---|---|
1 # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY | 1 # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY |
2 # This file contains past monetdb-java ChangeLog entries | 2 # This file contains past monetdb-java ChangeLog entries |
3 | |
4 * Mon Oct 23 2017 Sjoerd Mullender <sjoerd@acm.org> | |
5 - Compiled and released new jars: monetdb-jdbc-2.27.jar, monetdb-mcl-1.16.jar | |
6 and updated jdbcclient.jar | |
7 | |
8 * Thu Oct 5 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> | |
9 - Corrected method Connection.prepareCall(). It used to return null. | |
10 Now it throws an SQLFeatureNotSupportedException to comply with the | |
11 JDBC specification. | |
12 | |
13 * Thu Sep 28 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> | |
14 - Added possibility to let the JDBC driver return columnType value | |
15 Types.VARCHAR instead of Types.CLOB in case the result column of a | |
16 ResultSet or parameter in a PreparedStatement is of data type 'clob'. | |
17 To enable this behavior provide it as JDBC connection URL property: | |
18 treat_clob_as_varchar=true | |
19 For example: jdbc:monetdb://localhost:50000/demo?treat_clob_as_varchar=true | |
20 See also: | |
21 https://www.monetdb.org/Documentation/Manuals/SQLreference/Programming/JDBC | |
22 This custom clob mapping informs generic JDBC programs to fetch clob | |
23 column values via method ResultSet.getString() instead of getClob() | |
24 and Clob.getCharacterStream() and next fetching from the stream. | |
25 As MonetDB server MAPI communication protocol does not support | |
26 streaming of parts of a CLOB value, the current implementation is to | |
27 send over the whole CLOB value as a string. Therefore there is no | |
28 performance gain when fetching those Clob values via getClob() and | |
29 getCharacterStream(). In fact it creates a lot of overhead (additional | |
30 objects and method calls) and triples the amount of needed Java Heap memory | |
31 for each Clob value! | |
32 With this connection property set, you can reduce this overhead when | |
33 working with clob column data from generic JDBC programs. | |
34 | |
35 * Thu Sep 7 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> | |
36 - Implemented PreparedStatement methods setNCharacterStream(int, Reader) | |
37 and setNCharacterStream(int, Reader, long). | |
38 | |
39 * Thu Aug 31 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> | |
40 - Corrected PreparedStatement methods setString(int, String) | |
41 and setObject(int, Object, ...) in case the target parameter | |
42 data type was json or inet or url or uuid. See also | |
43 https://www.monetdb.org/bugzilla/show_bug.cgi?id=6382 | |
44 | |
45 * Thu Aug 24 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> | |
46 - Implemented PreparedStatement method setURL(int, URL). | |
47 - Implemented PreparedStatement method setNString(int, String). | |
48 - The MonetDB JDBC driver code and jdbcclient program are now compiled | |
49 without debug info and with optimise flag enabled. | |
50 The new jar files are now some 20% smaller in size. | |
51 | |
52 * Thu Aug 17 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> | |
53 - Implemented ResultSet method getNCharacterStream(). | |
54 - In class MonetClob implemented methods getCharacterStream() | |
55 and getCharacterStream(long pos, long length). Method | |
56 getCharacterStream() is called by DBeaver to fetch the Clob value. | |
57 It used to throw a SQLFeatureNotSupportedException with message: | |
58 "Operation getCharacterStream() currently not supported". This caused | |
59 DBeaver to log the exception and show NULL as the value on screen, | |
60 which is incorrect. This has been fixed. | |
3 | 61 |
4 * Fri Jul 28 2017 Sjoerd Mullender <sjoerd@acm.org> | 62 * Fri Jul 28 2017 Sjoerd Mullender <sjoerd@acm.org> |
5 - Compiled and released new jars: monetdb-jdbc-2.26.jar and updated jdbcclient.jar | 63 - Compiled and released new jars: monetdb-jdbc-2.26.jar and updated jdbcclient.jar |
6 | 64 |
7 * Thu Jul 13 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> | 65 * Thu Jul 13 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |