Re: Testcase for bytea datatype - Mailing list pgsql-jdbc

From Dirk Bromberg
Subject Re: Testcase for bytea datatype
Date
Msg-id 002501c2e28f$015df250$24ddfea9@xbserv
Whole thread Raw
In response to Re: Testcase for bytea datatype  ("Dirk Bromberg" <bromberg@tzi.de>)
List pgsql-jdbc
Hey, the binary problem works with the pg72jdbc2.jar!!!

so not with the:
- pg73jdbc3.jar
- devpgjdbc3.jar
but it works with:
- pg72jdbc2.jar

are there sources form the 72 jar somewhere ??

Greets

Dirk Bromberg


>-----Ursprüngliche Nachricht-----
>Von: pgsql-jdbc-owner@postgresql.org
>[mailto:pgsql-jdbc-owner@postgresql.org] Im Auftrag von Dirk Bromberg
>Gesendet: Dienstag, 4. März 2003 21:02
>An: 'Anders Hermansen'; pgsql-jdbc@postgresql.org
>Betreff: Re: [JDBC] Testcase for bytea datatype
>
>
>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@postgresql.org
>>[mailto:pgsql-jdbc-owner@postgresql.org] Im Auftrag von Anders
>>Hermansen
>>Gesendet: Sonntag, 2. März 2003 19:08
>>An: pgsql-jdbc@postgresql.org
>>Betreff: [JDBC] Testcase for bytea datatype
>>
>>
>>* Uwe Kubosch (donv@crusaders.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
>>
>
>
>---------------------------(end of
>broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to
>majordomo@postgresql.org
>
>


pgsql-jdbc by date:

Previous
From: Anders Hermansen
Date:
Subject: Re: Testcase for bytea datatype
Next
From: Dave Cramer
Date:
Subject: Re: Closing one connection closes all connections?