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 36EFFD1B1AE for ; Wed, 23 Jun 2004 10:35:32 -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 03625-09 for ; Wed, 23 Jun 2004 13:35:34 +0000 (GMT) Received: from hercules.ellemedia.com (unknown [212.205.129.170]) by svr1.postgresql.org (Postfix) with ESMTP id 5DEF3D1B199 for ; Wed, 23 Jun 2004 10:35:27 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by hercules.ellemedia.com (Postfix) with ESMTP id A8EEB150DC; Wed, 23 Jun 2004 16:34:08 +0300 (EEST) Received: from hermes.ellemedia.com (hermes.ellemedia.com [212.205.129.5]) by hercules.ellemedia.com (Postfix) with ESMTP id 6CBC8150D9; Wed, 23 Jun 2004 16:34:02 +0300 (EEST) Received: from csd.uoc.gr (corfu.ellemedia.com [212.205.129.107]) by hermes.ellemedia.com (Postfix) with ESMTP id B666432A791; Wed, 23 Jun 2004 16:36:55 +0300 (EEST) Message-ID: <40D98772.1010604@csd.uoc.gr> Date: Wed, 23 Jun 2004 16:36:50 +0300 From: GP Reply-To: pagomen@csd.uoc.gr Organization: University of Crete User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: Oliver Jowett Cc: pgsql-jdbc@postgresql.org Subject: Re: BLOB support problem !!!! References: <40D969D6.1070900@csd.uoc.gr> <40D96FA5.7050606@opencloud.com> In-Reply-To: <40D96FA5.7050606@opencloud.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.3 tagged_above=0.0 required=5.0 tests=PLING_PLING X-Spam-Level: * X-Archive-Number: 200406/151 X-Sequence-Number: 10353 Thanks Oliver The conn.commit() sloved my problems ! Oliver Jowett wrote: > 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