Mercurial > hg > monetdb-java
diff ChangeLog @ 966:39b74cc688d2
Fix a bug in DatabaseMetaData.getTables() where a provided string in the
array of table types argument would contain a single quote or back slash.
It was not escaped properly, resulting in an SQL syntax error.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Wed, 12 Feb 2025 22:31:08 +0100 (7 weeks ago) |
parents | 8aaa9964359a |
children | 5cc071c5c170 |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ # This file is updated with Maddlog * Wed Feb 12 2025 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> +- Fix a bug in DatabaseMetaData.getTables() where a provided string in the + array of table types argument would contain a single quote or back slash. + It was not escaped properly, resulting in an SQL syntax error. - Fix missing escaping of single back slashes in string data provided to PreparedStatement methods setString(), setClob(), setObject() and setURL().