Re: binary data in `bytea' column - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: binary data in `bytea' column
Date
Msg-id 4084B9DD.8050606@opencloud.com
Whole thread Raw
In response to Re: binary data in `bytea' column  (Anton Komarevtsev <avkx@rt.mipt.ru>)
List pgsql-jdbc
Anton Komarevtsev wrote:
> Oliver Jowett wrote:
>> You can still change the JDBC-level autocommit setting safely (via
>> Connection.setAutoCommit) regardless of the server's autocommit
>> capabilities.
>
>
> Unfortunately, java.sql.Connection.setAutoCommit(false) hangs current
> java thread without some exceptions.

I'm not sure what you mean. Could you post a testcase demonstrating the
problem you see? setAutoCommit() *should* work fine, assuming you are
using at least a 7.4 driver (a 7.3 driver against a 7.4 server is
unlikely to work, however).

-O

pgsql-jdbc by date:

Previous
From: Anton Komarevtsev
Date:
Subject: Re: binary data in `bytea' column
Next
From: Michael Privat
Date:
Subject: Re: bytea size limit?