From: Kris Jurka <books@ejurka.com>
To: Dilan <dilan@waterfind.com.au>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Saving currupting binary data into the database when
Date: Tue, 17 May 2005 13:11:51 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0505171304110.26170@leary.csoft.net> (raw)
In-Reply-To: <200505170036.j4H0aJGB000427@internal.waterfind.com.au>
References: <200505170036.j4H0aJGB000427@internal.waterfind.com.au>
On Tue, 17 May 2005, Dilan wrote:
> I'm using hibernate to connect postgresql via java, and I'm trying to save a
> image as a binary file,
>
Sending this as html email makes it difficult to read. Please stick to
plain text. Also it is not clear what hibernate is doing under the hood,
so this may be a question for a hibernate person.
Anyway, older server versions (early 7.3 series) have a bug that corrupts
bytea data, you aren't running one of those are you?
If you can provide a complete example using only JDBC calls I'd be
interested, but I don't know what else I can do for you now.
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, dilan@waterfind.com.au
Subject: Re: Saving currupting binary data into the database when
In-Reply-To: <Pine.BSO.4.56.0505171304110.26170@leary.csoft.net>
References: <200505170036.j4H0aJGB000427@internal.waterfind.com.au> <Pine.BSO.4.56.0505171304110.26170@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox