Re: Testcase for bytea datatype

From: "Dirk Bromberg" <bromberg(at)tzi(dot)de>
To: "'Anders Hermansen'" <anders(at)yoyo(dot)no>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Testcase for bytea datatype
Date: 2003-03-04 20:01:32
Message-ID: 001f01c2e288$da68dc10$24ddfea9@xbserv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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!!

greets

Dirk Bromberg

>-----Ursprüngliche Nachricht-----
>Von: pgsql-jdbc-owner(at)postgresql(dot)org
>[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] Im Auftrag von Anders
>Hermansen
>Gesendet: Sonntag, 2. März 2003 19:08
>An: pgsql-jdbc(at)postgresql(dot)org
>Betreff: [JDBC] Testcase for bytea datatype
>
>
>* Uwe Kubosch (donv(at)crusaders(dot)no) wrote:
>> OK, tried it. buffer is 5527 bytes. The
>PGbytea.toBytes(buffer) call
>> returned an array of size 5485. Original file size was 4342 bytes.
>
>I don't know what it is that is wrong. But I have made a test
>case, to test the database with bytea field. The test passes
>fine here. Although the default testdata is build.xml the test
>passes here with binary data too.
>
>JDBC maintainers: Can you add this test case to the distribution?
>
>
>Anders
>
>--
>Anders Hermansen
>YoYo Mobile as
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Anders Hermansen 2003-03-04 20:38:17 Re: Testcase for bytea datatype
Previous Message Dirk Bromberg 2003-03-04 19:33:59 setBinary getBinary not the same