Subject | Re: JDBC driver problem |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-08-13T16:33:05Z |
Hi Nickolay,
column encoding when reading the content of the BLOB field. I believe that
the client encoding should be used (not the JVM encoding as it is now) and
server must convert the text blobs (sub_type 1) into this encoding. If
server does not do this, this is a bug and must be fixed.
Roman
> --- FBBlob.java 2004-08-03 11:50:37.000000000 +0400Confirmed. Will be fixed today.
> +++ FBBlob.java.bak 2004-07-08 14:10:47.000000000 +0400
> Additinally, this guy is unhappy that setCharacterStream apparentlyMakes sense. I will add this before the release.
> uses JVM encoding for all blobs.
> He changed this method to use something like
> OutputStreamWriter osw = new OutputStreamWriter(os, javaEncoding);
>
> to be consistent with setString() logic.
> His final comment was:I do not agree with his comment. He suggests to use either database or
column encoding when reading the content of the BLOB field. I believe that
the client encoding should be used (not the JVM encoding as it is now) and
server must convert the text blobs (sub_type 1) into this encoding. If
server does not do this, this is a bug and must be fixed.
Roman