You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Date: 2017-07-11 13:31:57 +0200
From: Manuel <>
To: Martin van Dinther <<martin.van.dinther>>
Version: 11.25.23 (Dec2016-SP5)
CC: martin.van.dinther
Last updated: 2017-07-28 09:53:35 +0200
Comment 25450
Date: 2017-07-11 13:31:57 +0200
From: Manuel <>
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Build Identifier:
I am using MonetPreparedStatement to build an sql. I am unable to set the string value in a where condition for a column of type CLOB.
An SQLException with message Conversion not allowed, and sqlState = "M1M05".
My guess is that the method
public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException;
in MonetPreparedStatement, is missing the case 2005 (CLOB).
Reproducible: Always
Steps to Reproduce:
have a table with a column if type CLOB
use the jdbc driver to open a connection to a database, and build a precompiled SQL statement using PreparedStatement
3.set the value strign value to a CLOB argument.
Added test program for bug #6349.
Added case Types.CLOB: at several places in setObject(). This fixes bug #6349
Also replaced "" + x into direct <Class>.toString(x)
Date: 2017-07-11 13:31:57 +0200
From: Manuel <>
To: Martin van Dinther <<martin.van.dinther>>
Version: 11.25.23 (Dec2016-SP5)
CC: martin.van.dinther
Last updated: 2017-07-28 09:53:35 +0200
Comment 25450
Date: 2017-07-11 13:31:57 +0200
From: Manuel <>
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Build Identifier:
I am using MonetPreparedStatement to build an sql. I am unable to set the string value in a where condition for a column of type CLOB.
An SQLException with message Conversion not allowed, and sqlState = "M1M05".
My guess is that the method
public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException;
in MonetPreparedStatement, is missing the case 2005 (CLOB).
Reproducible: Always
Steps to Reproduce:
3.set the value strign value to a CLOB argument.
Actual Results:
An sql exception is thrown
Expected Results:
the query gets built
Comment 25461
Date: 2017-07-13 15:35:15 +0200
From: MonetDB Mercurial Repository <>
Changeset 0112d8496636, made by Martin van Dinther martin.van.dinther@monetdbsolutions.com in the monetdb-java repo, refers to this bug.
For complete details, see https://dev.monetdb.org/hg/monetdb-java?cmd=changeset;node=0112d8496636
Changeset description:
Comment 25462
Date: 2017-07-13 15:40:36 +0200
From: MonetDB Mercurial Repository <>
Changeset 7868f3b4b78d made by Martin van Dinther martin.van.dinther@monetdbsolutions.com in the MonetDB repo, refers to this bug.
For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=7868f3b4b78d
Changeset description:
Comment 25510
Date: 2017-07-28 09:53:35 +0200
From: @sjoerdmullender
A new JDBC driver (2.26) has been released.
The text was updated successfully, but these errors were encountered: