Re: Insert/Update that doesn't

From: Tim Holloway <timh(at)mousetech(dot)com>
To: Barry Lind <barry(at)xythos(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Insert/Update that doesn't
Date: 2001-12-12 02:28:58
Message-ID: Pine.LNX.4.21.0112112126180.4540-100000@sklave.mousetech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Never mind. I think the "autoCommit=false" line in the struts-config.xml
file answers my question!

Again, many thanks,

Tim Holloway

On Mon, 10 Dec 2001, Barry Lind wrote:

> Tim,
>
> I don't see any commit happening. If you want the changes to be final,
> you need to commit them. The difference between psql and jdbc can be
> explained by the fact that by default psql runs in autocommit mode (each
> statement is automatically commited when executed), and it appears that
> your jdbc is running in non-autocommit mode (see setAutoCommit()).
>
> thanks,
> --Barry
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas O'Dowd 2001-12-12 02:59:00 Re: (2) patch against cvs for getTimestamp() problem.
Previous Message Tim Holloway 2001-12-12 02:21:21 Re: Insert/Update that doesn't