Re: BLOB support problem !!!! - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: BLOB support problem !!!!
Date
Msg-id 40D96FA5.7050606@opencloud.com
Whole thread Raw
In response to BLOB support problem !!!!  (GP <pagomen@csd.uoc.gr>)
Responses Re: BLOB support problem !!!!  (GP <pagomen@csd.uoc.gr>)
List pgsql-jdbc
GP wrote:

> I tried both of them BUT
> The first one throw an OutofMemoryException for files > 1.5 Mbyte (is
> this some kind of bug ??)

It's a known issue. There are patches pending to fix it that will
hopefully be applied soon. A workaround is to increase your JVM's heap size.

> And the second one doesn't throw any Exception or Error but it does NOT
> write anything in the database !!

It looks like it's missing a conn.commit() call at the end, so none of
the changes will actually be committed..

-O

pgsql-jdbc by date:

Previous
From: GP
Date:
Subject: BLOB support problem !!!!
Next
From: GP
Date:
Subject: Re: BLOB support problem !!!!