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 B70B05E40BB for ; Fri, 20 Aug 2004 20:10: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 26321-09 for ; Fri, 20 Aug 2004 23:10:31 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id A43A45E46D6 for ; Fri, 20 Aug 2004 20:10:26 -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 1ByIWO-0004Le-00; Sat, 21 Aug 2004 11:10:08 +1200 Message-ID: <412684CC.3070002@opencloud.com> Date: Sat, 21 Aug 2004 11:10:04 +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: andreas.percher@automedia.de Cc: pg@fastcrypt.com, pgsql-jdbc@postgresql.org, tobias.zielke@automedia.de Subject: Re: Columns out of range-error References: <000601c486c9$33972b30$1600a8c0@developer> In-Reply-To: <000601c486c9$33972b30$1600a8c0@developer> 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=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/124 X-Sequence-Number: 10846 Andreas Percher wrote: >>First of all, do not use begin, use setAutoCommit(false); > > Silly question: > Where ? > How ? > > I don't get any acces to the postgresDB, only the JDBC-Conection. It's a method on the JDBC Connection object: java.sql.Connection.setAutoCommit() >>I still need to see the loop that you are inserting the data in? > > This is what Woolve73 will send to you, i guess. It'd be useful if you could send it to the list too.. -O