log src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java @ 973:32f246853ec4 default tip

age author description
4 hours ago Martin van Dinther Optimisation, call connection.mapClobAsVarChar() and connection.mapBlobAsVarBinary() outside the for-loop, as it does not change. default tip
8 weeks ago Martin van Dinther Corrected the returned integer values of Statement methods executeUpdate(...), executeLargeUpdate(...), getUpdateCount() and getLargeUpdateCount() and PreparedStatement methods executeUpdate() and executeLargeUpdate(). They returned -2 for DDL statements, which was not in compliance with the JDBC API documentation.
3 months ago Sjoerd Mullender Spell check.
3 months ago Martin van Dinther Update Copyright year.
11 months ago Martin van Dinther Improve and optimize PreparedStatement.setBigDecimal() implementation. It now checks on null input parameter to prevent NPE. Also removed code to trim leading zero's.
12 months ago Martin van Dinther Optimise code, use append(char) instead of append(String)
12 months ago Martin van Dinther An array_size of 0 (so new String[0]) is allowed in java.
12 months ago Martin van Dinther Optimise getMetaData(). We can compute the number of result columns, so avoid to go through all metadata entries in column[] to test if it is a result column.
12 months ago Martin van Dinther Optimise getParameterMetaData(). We can compute the number of parameters now, so avoid to go through all entries in column[] to test if it is a parameter.
13 months ago Martin van Dinther Optimised internal method getParamIdx(). Instead of going through a loop each time (for all result columns and parameters), we now calculate the internal array index value directly, which is much faster.
14 months ago Martin van Dinther Resolve some javadoc errors and warnings
15 months ago Sjoerd Mullender Update copyright for the new year, move to MonetDB Foundation, add SPDX.
16 months ago Joeri van Ruth Call reader.read multiple times if necessary
20 months ago Martin van Dinther Reduce code by importing java.sql.Date; and remove prefix java.sql. where no longer needed.
21 months ago Martin van Dinther Fixed javac version 20 compiler warnings.
2023-02-02 Martin van Dinther Optimize setBytes() implementation. For the 16 hex codes use a char[] and direct array indexing instead of a String and calling charAt().
2023-01-19 Martin van Dinther Improved implementation of PreparedStatement.getParameterMetaData().
2023-01-05 Martin van Dinther Improved implementation of PreparedStatement.getMetaData().
2023-01-05 Martin van Dinther Updated Copyright year.
2023-01-04 Martin van Dinther Moving static method getClassForType() from MonetResulSet to MonetDriver class which is a much more logical place.
2022-12-22 Martin van Dinther Counting only parameter markers to determine the fetchSize is not sufficiant for all Prepared statements.
2022-12-15 Martin van Dinther Resolve javac and javadoc warnings when compiled with JDK19.
2022-12-15 Martin van Dinther Resolve javadoc errors.
2022-11-23 Martin van Dinther Eliminate hardcoded value 250 in the constructor of MonetPreparedStatement. For this an internal package method MonetConnection.getDefaultFetchSize() is added.
2022-11-17 Martin van Dinther Fixed an invalid error issue when a PreparedStatement had more than 250 parameters.
2022-11-03 Martin van Dinther For a Class object use getCanonicalName() instead of getName().
2022-11-03 Martin van Dinther Corrected returned SQL TypeName values for the MonetDB interval types: 'day_interval', 'month_interval' and 'sec_interval'.
2022-10-27 Martin van Dinther Corrected PreparedStatement methods getMetaData().getColumnDisplaySize(), getMetaData().getPrecision() and getParameterMetaData().getPrecision().
2022-02-10 Martin van Dinther Added recognition of 'xml' type.
2022-01-20 Martin van Dinther Cleanup old code.
2022-01-20 Martin van Dinther Do more cleanup in the close() methods such as calling clearWarnings(), clearParameters(), clearBatch() and dereferencing cached objects.
2022-01-05 Martin van Dinther Updated Copyright year.
2021-09-16 Joeri van Ruth Doc comment fixes onclient
2021-08-04 Martin van Dinther Optimize setNull(3 args) method by doing the same thing as setNull(2 args)
2021-04-30 Martin van Dinther Optimised storing, setting and processing of parameter values in MonetPreparedStatement.
2021-03-04 Martin van Dinther Correcting typos in documentation text. Also improved the readability of the generated javadoc documents.
2021-03-03 Martin van Dinther Implemented PreparedStatement.toString() as requested by https://github.com/MonetDB/monetdb-java/issues/8
2021-02-10 Martin van Dinther Extended PreparedStatement.setString() json string validity test for json parameters to now also accept: numbers (with optional fractions and exponent), string literals between double quotes, and keywords: true, false and null.
2021-02-03 Martin van Dinther Optimisation in MonetPreparedStatement.setString(int parameterIndex, String x) for when the string is not of type inet or json or url or uuid.
2021-02-03 Martin van Dinther Restructured code (incl removal of duplicate code) for utility functions dq() and sq() which add double or double quotes and add escapes to string values.
2021-01-06 Martin van Dinther Update Copyright year.
2020-11-12 Martin van Dinther Moved Java classes from packages starting with nl.cwi.monetdb.* to package org.monetdb.* base src/main/java/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java@776689e97de8