Re: Insert/Update that doesn't - Mailing list pgsql-jdbc

From Tim Holloway
Subject Re: Insert/Update that doesn't
Date
Msg-id Pine.LNX.4.21.0112112126180.4540-100000@sklave.mousetech.com
Whole thread Raw
In response to Re: Insert/Update that doesn't  (Barry Lind <barry@xythos.com>)
List 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
>


pgsql-jdbc by date:

Previous
From: Antonio Fiol Bonnín
Date:
Subject: Re: Update for bug in org.postgresql.Connection method
Next
From: Tim Holloway
Date:
Subject: Re: Insert/Update that doesn't