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 1F4145347B for ; Thu, 12 May 2005 21:42:29 -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 27315-02 for ; Fri, 13 May 2005 00:42:18 +0000 (GMT) Received: from iteso.mx (iteso.mx [148.201.1.4]) by svr1.postgresql.org (Postfix) with ESMTP id EBA70533D0 for ; Thu, 12 May 2005 21:42:17 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by iteso.mx (Postfix) with ESMTP id 9D6321BA0B4; Thu, 12 May 2005 19:42:20 -0500 (CDT) Received: from iteso.mx ([127.0.0.1]) by localhost (iteso.mx [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12200-13; Thu, 12 May 2005 19:42:18 -0500 (CDT) Received: by iteso.mx (Postfix, from userid 33) id 6AA9D1BA032; Thu, 12 May 2005 19:42:18 -0500 (CDT) Received: from 200.94.36.241 ([200.94.36.241]) by iteso.mx (IMP) with HTTP for ; Thu, 12 May 2005 19:42:18 -0500 Message-ID: <1115944938.4283f7ea3dd90@iteso.mx> Date: Thu, 12 May 2005 19:42:18 -0500 From: hiuguis@iteso.mx To: Oliver Jowett , pgsql-jdbc@postgresql.org Subject: Re: JDBC INSERT Problem References: <1115942821.4283efa50fd11@iteso.mx> <4283F339.3090200@opencloud.com> In-Reply-To: <4283F339.3090200@opencloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Originating-IP: 200.94.36.241 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at iteso.mx X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.178 tagged_above=0 required=5 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200505/69 X-Sequence-Number: 12900 Thank you very much Oliver. Now its working fine even for bytea fields. Regards. Mensaje citado por Oliver Jowett : > hiuguis@iteso.mx wrote: > > > Im new with PostgreSQL. Im migrating an SQLServer DB to PostgreSQL and Im > having > > some problems with insertions. The problem consist only with the SQL INSERT > > function via the JDBC driver. When I try to insert some data to some table > It > > seems that everithing its working fine, but I cannot see the new data in > the > > table. > > Perhaps your connection pool is giving you a connection with autocommit > off. Your code does not commit the transaction containing the INSERT, > and presumably when you return the connection to the pool it is rolling > back the uncommitted transaction. > > -O > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >