view ChangeLog @ 595:36df3c89845d

Extended FileTransferHandler utility class by adding support for reading from and writing to gzip compressed files when using file name extension .gz Also improve error handling by testing on empty file name and provide more information when invalid file name is given or other compression formats are requested. As the FileTransferHandler utility class is used by JdbcClient application, it will now also support this functionality.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 25 Nov 2021 19:06:48 +0100 (2021-11-25)
parents 73cfc519ec1e
children f15df1ae41bc
line wrap: on
line source
# ChangeLog file for monetdb-java
# This file is updated with Maddlog

* Thu Nov 25 2021 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
- Extended FileTransferHandler utility class by adding support for reading from
  and writing to gzip compressed files when using file name extension .gz
  Also improve error handling by testing on empty file name and provide more
  information when invalid file name is given or other compression formats are
  requested. As the FileTransferHandler utility class is used by JdbcClient
  application, it will now also support this functionality.

* Fri Nov 05 2021 Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
- Extended the MonetDB JDBC driver with support for the ON CLIENT clause of
  the COPY statements. To make use of this functionality you must first
  register handlers for upload and download of data.
  The MonetConnection class has been extended with 2 methods:
    public void setUploadHandler(UploadHandler uploadHandler)
    public void setDownloadHandler(DownloadHandler downloadHandler)
  The MonetDB JDBC driver API has been extended with interfaces:
    public interface org.monetdb.jdbc.MonetConnection.UploadHandler
    public interface org.monetdb.jdbc.MonetConnection.DownloadHandler
  See onclient.txt for more information on how to use these from Java.
  We also provide a utility class:
    public class org.monetdb.util.FileTransferHandler
  which provides an example implementation of the MonetConnection.UploadHandler
  and MonetConnection.DownloadHandler interfaces useable for reading files
  from or writing files to a local file system.

* Fri Nov 05 2021 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
- The JdbcClient application has been extended to support the new
    COPY ... ON CLIENT functionality.
  However for security reasons you must provide an explicit new startup argument
    --csvdir "/absolute/path/to/csvdatafiles"
  or on MS Windows
    --csvdir "C:\\path\\to\\csvdatafiles"
  in order to activate the JdbcClient application to down/up load data to/from
  the local file system.

* Mon Jun 14 2021 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
- Compiled and released new jar files: monetdb-jdbc-3.1.jre8.jar,
  monetdb-mcl-1.20.jre8.jar and jdbcclient.jre8.jar

* Thu Apr 29 2021 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
- Improved performance of ResultSetMetaData methods getPrecision(),
  getScale(), isNullable() and isAutoIncrement(). The data is fetched
  from the server by sending a query. This used to be one query for
  each column of the ResultSet. Now these metadata queries are combined
  into one query fetching this meta data for up to 50 columns in one query.
  This reduces the number of queries sent to the server significantly.
  This is noticable for instance when using generic JDBC query tools
  such as SQuirreL, DBeaver, which now respond much faster.

* Wed Mar  3 2021 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
- Implemented PreparedStatement.toString() as requested by
  https://github.com/MonetDB/monetdb-java/issues/8

* Wed Mar  3 2021 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
- Implemented fix for released monetdb-jdbc-3.0.jre8.jar and
  monetdb-mcl-1.19.jre8.jar when it is was run using java build 1.8.0_###.
  It would throw:
  java.lang.NoSuchMethodError: java.nio.CharBuffer.mark()Ljava/nio/CharBuffer;
  at org.monetdb.mcl.parser.StartOfHeaderParser.getNextAsString(Unknown Source)
  at org.monetdb.jdbc.MonetConnection$ResponseList.executeQuery(Unknown Source)
  at org.monetdb.jdbc.MonetConnection$ResponseList.processQuery(Unknown Source)
  at org.monetdb.jdbc.MonetStatement.internalExecute(Unknown Source)
  at org.monetdb.jdbc.MonetStatement.execute(Unknown Source)
  The problem is caused by a change in java.nio.CharBuffer API (return
  types of methods mark() and reset() have changed from Buffer to
  CharBuffer) from Java 8 to Java 9+.

For a complete list of changes in previous monetdb-java releases see:
  https://www.monetdb.org/downloads/Java/archive/ChangeLog-Archive