On Mon, 10 May 2004, pginfo wrote:
> Hi,
>
> We are using pg 7.4.2 + jdbc to connect to jboss.
>
> Connection con = ... I get connection to my db.
> con.setAutoCommit(false); // begin transaction
> // do some inserts
> con.rollback(); // rollback
> con.setAutoCommit(true); // set autocommit. We are using connection
> pool and will to have clear connection.
>
> For my supprice the last example do not rollback any inserts !
I find that very hard to believe. The attached file shows the expected
behavior for me. If it fails for you or you can modify it to fail, I
would be very interested.
Kris Jurka