Mercurial > hg > monetdb-java
annotate ChangeLog @ 149:1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Method getCharacterStream() is called by DBeaver to fetch the Clob value.
It used to throw a SQLFeatureNotSupportedException with message:
"Method getCharacterStream() currently not supported"
This caused DBeaver to log the exception and show NULL as the value on screen, which is incorrect.
By implementing these methods it now works as expected for DBeaver and other generic SQL client tools using JDBC.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 17 Aug 2017 18:36:25 +0200 (2017-08-17) |
parents | f97c111db06f |
children | 352b54ff0436 |
rev | line source |
---|---|
89
a6608e9581c1
Moved content of ChangeLog to ChangeLog-Archive.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
53
diff
changeset
|
1 # ChangeLog file for monetdb-java |
0
a5a898f6886c
Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff
changeset
|
2 # This file is updated with Maddlog |
a5a898f6886c
Copy of MonetDB java directory changeset e6e32756ad31.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff
changeset
|
3 |
149
1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
138
diff
changeset
|
4 * Thu Aug 17 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
138
diff
changeset
|
5 - In class MonetClob implemented methods getCharacterStream() |
1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
138
diff
changeset
|
6 and getCharacterStream(long pos, long length). Method |
1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
138
diff
changeset
|
7 getCharacterStream() is called by DBeaver to fetch the Clob value. |
1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
138
diff
changeset
|
8 It used to throw a SQLFeatureNotSupportedException with message: |
1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
138
diff
changeset
|
9 "Method getCharacterStream() currently not supported" This caused |
1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
138
diff
changeset
|
10 DBeaver to log the exception and show NULL as the value on screen, |
1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
138
diff
changeset
|
11 which is incorrect. This has been fixed. |
1e49fc74dba4
Implemented methods getCharacterStream() and getCharacterStream(long pos, long length) in class MonetClob.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
138
diff
changeset
|
12 |
138
f97c111db06f
Updated ChangeLog in preparation of new release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
123
diff
changeset
|
13 * Fri Jul 28 2017 Sjoerd Mullender <sjoerd@acm.org> |
f97c111db06f
Updated ChangeLog in preparation of new release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
123
diff
changeset
|
14 - Compiled and released new jars: monetdb-jdbc-2.26.jar and updated jdbcclient.jar |
123
206a2cb51b65
Updated ChangeLog in preparation of new release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
89
diff
changeset
|
15 |
138
f97c111db06f
Updated ChangeLog in preparation of new release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
123
diff
changeset
|
16 * Thu Jul 13 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
f97c111db06f
Updated ChangeLog in preparation of new release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
123
diff
changeset
|
17 - Corrected implementation of PreparedStatement method |
f97c111db06f
Updated ChangeLog in preparation of new release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
123
diff
changeset
|
18 setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) |
f97c111db06f
Updated ChangeLog in preparation of new release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
123
diff
changeset
|
19 for the case the targetSqlType is Types.CLOB. |
f97c111db06f
Updated ChangeLog in preparation of new release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
123
diff
changeset
|
20 See also: https://www.monetdb.org/bugzilla/show_bug.cgi?id=6349 |
123
206a2cb51b65
Updated ChangeLog in preparation of new release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
89
diff
changeset
|
21 |