Mercurial > hg > monetdb-java
view ChangeLog @ 300:8cc3b51d1984
Add a utility method to close objects ignoring any possible SQLExceptions thrown.
Use it in finally clauses to reduce object code.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 15 Aug 2019 16:57:25 +0200 (2019-08-15) |
parents | 6db8f6702ce8 |
children | 5ddab9d8d3dd |
line wrap: on
line source
# ChangeLog file for monetdb-java # This file is updated with Maddlog * Wed Aug 14 2019 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> - Improved MonetDatabaseMetaData methods: - getNumericFunctions(): it now includes functions: code, space and sys.alpha - getNumericFunctions(): it no longer lists functions: not_uniques and rotate_xor_hash - getStringFunctions(): it now includes functions: json.isarray, json.isobject, json.isvalid, sys.reverse which accept a string value as argument - getStringFunctions(): it no longer lists functions: copyfrom, get_value_for, next_value_for, restart. - getSystemFunctions(): it now includes system functions: get_value_for, hash, next_value_for, sys.columnsize, sys.debug, sys.hashsize, sys.heapsize, sys.imprintsize, sys.isauuid, sys.md5, sys.newurl, sys.password_hash, isaurl - getSystemFunctions(): it no longer lists function: getlimit. Also some functions require the prefix "sys." or "json." when used from another schema. This is now included in the names returned by methods getNumericFunctions(), getStringFunctions(), getSystemFunctions() and getTimeDateFunctions(). * Wed Jul 31 2019 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> - Corrected MonetDatabaseMetaData methods: - getNumericFunctions(): it now includes function: pi. - getSystemFunctions(): it no longer lists numeric functions: pi and rand. - supportsSchemasInIndexDefinitions(): changed from true to false - Optimised MonetStatement memory resource usage by only creating an ArrayList and ReentrantLock object when the batch methods addBatch() or executeBatch() are called. In most Statement usages those methods are never called. - Implemented method MonetClob.getAsciiStream(). * Thu Mar 21 2019 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> - Added implementation of java.sql.CallableStatement interface. Some standard Java applications require this JDBC interface for executing SQL stored procedures. This implementation resolves request: https://www.monetdb.org/bugzilla/show_bug.cgi?id=6402 * Thu Mar 7 2019 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> - Improved MonetDatabaseMetaData methods: - getNumericFunctions(): it now includes functions: degrees, fuse, ms_round, ms_str, ms_trunc and radians. - getStringFunctions(): it now includes function: position. - supportsIntegrityEnhancementFacility() now returns false, as we do not enforce CHECK constraints yet. * Thu Feb 7 2019 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> - Improved MonetDatabaseMetaData methods: - getNumericFunctions(): it no longer lists aggregate functions: avg, prod and sum - getSystemFunctions(): it no longer lists timedate function: extract - getTimeDateFunctions(): it now also lists functions: date_trunc, epoch - Corrected MonetDatabaseMetaData method getTypeInfo() for result column SEARCHABLE. It now returns DatabaseMetaData.typeSearchable for all string data types including 'inet','json','url','uuid' and 'blob'. * Thu Sep 20 2018 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> - Improved example program SQLcopyinto.java and moved it to tests directory for automatic testing. * Thu Jun 28 2018 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> - Corrected return values of DatabaseMetaData methods allTablesAreSelectable() and allProceduresAreCallable(). They used to return true but now return false.