log src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java @ 975:5e320086a01c default tip

age author description
3 weeks ago Martin van Dinther Optimisation, call connection.mapClobAsVarChar() and connection.mapBlobAsVarBinary() outside the for-loop, as it does not change.
2 months 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.
4 months ago Martin van Dinther Update Copyright year.
12 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.
13 months ago Martin van Dinther Optimise code, use append(char) instead of append(String)
13 months ago Martin van Dinther An array_size of 0 (so new String[0]) is allowed in java.
13 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.
13 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.
14 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.
15 months ago Martin van Dinther Resolve some javadoc errors and warnings
16 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
21 months ago Martin van Dinther Reduce code by importing java.sql.Date; and remove prefix java.sql. where no longer needed.
22 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.