|
2 | 2 | # This file contains all past monetdb-java ChangeLog entries |
3 | 3 | # For every new release the ChangeLog is prepended to this file. |
4 | 4 |
|
| 5 | +* Thu Oct 2 2025 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 6 | +- Compiled and released new jar files: monetdb-jdbc-12.1.jre8.jar and |
| 7 | + jdbcclient.jre8.jar |
| 8 | + |
| 9 | +* Thu Sep 18 2025 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 10 | +- Added support for new MonetDB data types: inet4 and inet6. |
| 11 | + |
| 12 | +* Tue Sep 9 2025 Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
| 13 | +- Fixed the 'debug' and 'logfile' properties. The log file was opened |
| 14 | + but immediately closed again. |
| 15 | +- Made the log file name choosing algorithm more robust against race |
| 16 | + conditions: instead of checking whether the intended file already exists |
| 17 | + and opening it when it doesn't, open it in 'create' mode and handle |
| 18 | + the error that gets thrown when it already exists. |
| 19 | +- conn.getMetaData().supportsTransactionIsolationLevel() now always |
| 20 | + returns 'true' exept for level TRANSACTION_NONE. It used to return 'true' |
| 21 | + only for TRANSACTION_SERIALIZABLE, but serializable actually implies |
| 22 | + the other levels. Matches the behavior of PostgreSQL. |
| 23 | + |
| 24 | +* Mon Sep 1 2025 Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
| 25 | +- Automatic compression and decompression in FileTransferHandler can now |
| 26 | + be disabled by passing 'false' as the third constructor parameter. |
| 27 | + |
| 28 | +* Thu Jul 3 2025 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 29 | +- Corrected output of columns SEARCHABLE and AUTO_INCREMENT of method |
| 30 | + DatabaseMetaData.getTypeInfo(). Most types are searchable with LIKE |
| 31 | + pattern matching. AUTO_INCREMENT is no longer true for base integer types. |
| 32 | + |
| 33 | +* Fri Apr 4 2025 Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
| 34 | +- Improve error message when server closes the connection immediately after |
| 35 | + accepting it. |
| 36 | + |
| 37 | +* Wed Mar 31 2025 Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
| 38 | +- Fixed more result set leaks. |
| 39 | + |
| 40 | +* Wed Feb 26 2025 Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
| 41 | +- Properties 'clientkey' and 'clientcert' are no longer included in the |
| 42 | + result of Driver#getPropertyInfo() because though the driver recognizes |
| 43 | + them, it does not support them. |
| 44 | +- Fixed a number of result set leak when Statement#setMaxRows was called. |
| 45 | + |
| 46 | +* Thu Feb 13 2025 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 47 | +- Corrected the returned integer values of Statement methods |
| 48 | + getUpdateCount() and getLargeUpdateCount(). They returned -2 for |
| 49 | + DDL statements, which was not in compliance with the JDBC API |
| 50 | + documentation. Now they no longer return numbers smaller than -1. |
| 51 | +- Corrected the returned integer values of Statement methods |
| 52 | + executeUpdate(...) and executeLargeUpdate(...) and PreparedStatement |
| 53 | + methods executeUpdate() and executeLargeUpdate(). They returned -2 for |
| 54 | + DDL statements, which was not in compliance with the JDBC API |
| 55 | + documentation. Now they no longer return negative numbers. |
| 56 | + |
| 57 | +* Wed Feb 12 2025 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 58 | +- Fix a bug in DatabaseMetaData.getTables() where a provided string in the |
| 59 | + array of table types argument would contain a single quote or back slash. |
| 60 | + It was not escaped properly, resulting in an SQL syntax error. |
| 61 | +- Fix missing escaping of single back slashes in string data provided to |
| 62 | + PreparedStatement methods setString(), setClob(), setObject() and setURL(). |
| 63 | + |
| 64 | +* Thu Jan 16 2025 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 65 | +- The release version number has been bumped to 12.0 to avoid confusion |
| 66 | + with historic 11.x versions. |
| 67 | +- Compiled and released new jar files: monetdb-jdbc-12.0.jre8.jar and |
| 68 | + jdbcclient.jre8.jar |
| 69 | + |
| 70 | +* Wed Jan 8 2025 Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
| 71 | +- The JDBC jar now includes JdbcClient. For backward compatibility the jar |
| 72 | + is still also available as jdbcclient.jreX.jar. |
| 73 | + |
| 74 | +* Thu Nov 7 2024 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 75 | +- In JdbcClient when running the \vsci or \vdbi or \vsi commands, we now |
| 76 | + suppress "42000 SELECT: insufficient privileges for ..." and |
| 77 | + "42000 SELECT: access denied for ..." error messages when the connected user |
| 78 | + does not have 'monetdb' or 'sysadmin' privileges, needed for some validations. |
| 79 | + |
| 80 | +* Wed Jun 19 2024 Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
| 81 | +- Implemented Connection#set/getClientInfo, and send sensible default info |
| 82 | + at connect time. This can be controlled with the properties 'client_info=on/off', |
| 83 | + 'client_application=ApplicationName' and 'client_remark=Other Useful Info'. |
| 84 | + Note setting client info requires MonetDB server 11.51 (Aug2024) or higher. |
| 85 | + |
| 86 | +* Thu Apr 4 2024 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 87 | +- Corrected ResultSetMetaData methods getColumnTypeName(), getPrecision(), |
| 88 | + getColumnDisplaySize() and ParameterMetaData methods getParameterTypeName() |
| 89 | + and getPrecision() for the interval data types. They now return |
| 90 | + more precise information for the 13 possible interval data types. |
| 91 | + |
| 92 | +* Thu Mar 7 2024 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 93 | +- Improved DatabaseMetaData.getTypeInfo(). It now also returns the serial |
| 94 | + and bigserial data types and all 13 possible interval data types. |
| 95 | + |
| 96 | +* Fri Jan 5 2024 Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
| 97 | +- Network connections can now be encrypted with TLS by using jdbc:monetdbs://.. |
| 98 | + instead of jdbc:monetdb://. The server is authenticated using the JVM's root |
| 99 | + certificate pool unless cert= or certhash= properties are given. |
| 100 | +- The syntax of the JDBC URL's has been updated to match the monetdb:// and |
| 101 | + monetdbs:// URL syntax introduced in MonetDB 11.51 (Aug2024), see |
| 102 | + https://www.monetdb.org/documentation/user-guide/client-interfaces/monetdb-urls/. |
| 103 | + This adds a number of properties that can be set in the URL but is otherwise |
| 104 | + backward compatible except that percent sign are now used to escape other characters. |
| 105 | + For example, the password '100%milk&cookies' can be passed as |
| 106 | + password=100%25milk%26cookies. |
| 107 | + |
| 108 | +* Thu Dec 28 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 109 | +- In ResultSet.getObject(column, Class<T> type) and |
| 110 | + ResultSet.getObject(column, Map<String,Class<?>>) methods added support |
| 111 | + to return objects for classes: java.time.LocalDate, java.time.LocalDateTime |
| 112 | + and java.time.LocalTime. |
| 113 | + |
| 114 | +* Wed Dec 20 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 115 | +- Enhanced DatabaseMetaData.getTables() method by adding support for SQL |
| 116 | + table type names: 'BASE TABLE', 'GLOBAL TEMPORARY' and 'LOCAL TEMPORARY' |
| 117 | + in parameter types[]. These are SQL synonyms of MonetDB table type names: |
| 118 | + 'TABLE', 'GLOBAL TEMPORARY TABLE' and 'LOCAL TEMPORARY TABLE'. |
| 119 | + |
| 120 | +* Thu Dec 14 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 121 | +- In ResultSet.getObject() method added support for retrieving |
| 122 | + TIMESTAMP WITH TIME ZONE data as java.time.OffsetDateTime object |
| 123 | + and TIME WITH TIME ZONE as java.time.OffsetTime object. |
| 124 | + Also methods ResultSetMetaData.getColumnClassName() and |
| 125 | + ParameterMetaData.getParameterClassName() now return |
| 126 | + java.time.OffsetDateTime.class for columns of type TIMESTAMP WITH TIME ZONE |
| 127 | + and java.time.OffsetTime.class for columns of type TIME WITH TIME ZONE. |
| 128 | + |
| 129 | +* Thu Oct 12 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 130 | +- Improved DatabaseMetaData.getSystemFunctions(). It now also returns |
| 131 | + functions: current_sessionid, greatest, ifnull, least, sql_max, sql_min. |
| 132 | + Function ifnull will only be returned for servers Jun2023 (11.47 or higher). |
| 133 | + |
| 134 | +* Wed Aug 9 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 135 | +- Implemented ResultSet methods: |
| 136 | + <T> T getObject(int columnIndex, Class<T> type) |
| 137 | + <T> T getObject(String columnLabel, Class<T> type) |
| 138 | + They used to throw an SQLFeatureNotSupportedException. |
| 139 | + |
| 140 | +* Thu Jul 6 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 141 | +- Removed deprecated nl.cwi.monetdb.*.* classes and package. |
| 142 | + Those classes were marked deprecated on 12 Nov 2020 from |
| 143 | + release 3.0 (released on 17 Feb 2021) onwards. It includes: |
| 144 | + nl.cwi.monetdb.client.JdbcClient.class |
| 145 | + nl.cwi.monetdb.jdbc.MonetDriver.class |
| 146 | + nl.cwi.monetdb.jdbc.types.INET.class |
| 147 | + nl.cwi.monetdb.jdbc.types.URL.class |
| 148 | + nl.cwi.monetdb.mcl.net.MapiSocket.class |
| 149 | + These classes are now removed permanently. |
| 150 | + Use the org.monetdb.* equivalents instead. |
| 151 | + |
| 152 | +* Thu Jul 6 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 153 | +- Removed code to support old MonetDB servers Oct2014 or older. Those |
| 154 | + old servers did not yet have the system tables: sys.keywords and |
| 155 | + sys.table_types which are introduced in Jul2015 release. Those system |
| 156 | + tables are used by MonetDatabaseMetaData methods: getSQLKeywords(), |
| 157 | + getTableTypes() and getTables(). These 3 methods will now fail when |
| 158 | + used with those very old MonetDB servers. |
| 159 | + |
| 160 | +* Wed Jul 5 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 161 | +- Corrected implementation of Connection methods getClientInfo() and |
| 162 | + setClientInfo(). They used to get/set Connection properties instead of |
| 163 | + Client Info properties, which was incorrect. |
| 164 | + |
| 165 | +* Thu Jun 22 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 166 | +- Corrected DatabaseMetaData method getClientProperties(). |
| 167 | + It used to return connection properties instead of client info properties. |
| 168 | + |
| 169 | +* Thu May 4 2023 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
| 170 | +- Corrected DatabaseMetaData method getStringFunctions() when connected |
| 171 | + to Jun2023 server. It now includes the string functions from the new |
| 172 | + txtsim module. |
| 173 | + |
5 | 174 | * Thu Jan 16 2025 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
6 | 175 | - The release version number has been bumped to 12.0 to avoid confusion |
7 | 176 | with historic 11.x versions. |
|
0 commit comments