* Dirk Bromberg (bromberg@tzi.de) wrote:
> I've insert the code to mine and if i take an image the test is not ok.
> the byte[] are different.
>
> Don't use plain text to test!!
Please read what I wrote:
<quote>
Although the default testdata is build.xml the test
passes here with binary data too.
</quote>
I let it default with build.xml so it should be easier for JDBC
maintainers to intergrate the test into the distribution.
But I have some more information about the failures, I can now reproduce it
here too. If I create the database with encoding SQLASCII the tests run
fine, if I create it with UNICODE the tests run fine. But if I create it
with ISO-8859-1 the test fails, complaining that more bytes than there
should be is available from the db.
In short, to reproduce the problem you need to:
Create the test database with ISO-8859-1 encoding and run my testcase
with a binary file (not the default build.xml).
I hope this helps to further solve the problem.
Anders
--
Anders Hermansen
YoYo Mobile as