X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F3147D1B37D for ; Wed, 23 Jun 2004 08:53:56 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51521-08 for ; Wed, 23 Jun 2004 11:53:53 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 08AA2D1B297 for ; Wed, 23 Jun 2004 08:53:48 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1Bd6Jz-0004UL-00; Wed, 23 Jun 2004 23:53:43 +1200 Message-ID: <40D96FA5.7050606@opencloud.com> Date: Wed, 23 Jun 2004 23:55:17 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pagomen@csd.uoc.gr Cc: pgsql-jdbc@postgresql.org Subject: Re: BLOB support problem !!!! References: <40D969D6.1070900@csd.uoc.gr> In-Reply-To: <40D969D6.1070900@csd.uoc.gr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.4 tagged_above=0.0 required=5.0 tests=PLING_PLING, RCVD_IN_SORBS X-Spam-Level: * X-Archive-Number: 200406/150 X-Sequence-Number: 10352 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