Received: from shaked.cc.openu.ac.il (shaked.cc.openu.ac.il [147.233.145.65]) by hub.org (8.8.8/8.7.5) with ESMTP id JAA25158 for ; Wed, 7 Jan 1998 09:08:51 -0500 (EST) Received: from [147.233.159.109] (mac-herouth.pc.openu.ac.il [147.233.159.109]) by shaked.cc.openu.ac.il (8.8.5/8.8.5) with ESMTP id QAA26570 for ; Wed, 7 Jan 1998 16:08:22 +0200 (IST) X-Sender: herouth@shaked.cc.openu.ac.il Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 7 Jan 1998 16:08:50 +0200 To: pgsql-interfaces@postgresql.org From: Herouth Maoz Subject: JDBC transactions I wanted to make sure before I attempt it: If I'm using the JDBC driver, I don't have to use explicit transaction calls. That is, I don't have to sent the statements "BEGIN TRANSACTION" and "END". Instead, I have to do con.setAutoCommit(false), and then, the next SQL call will initiate a transaction, which I end by using con.commit() or con.rollback(). That's the documented behavior of JDBC, and what I'm asking is whether (a) I'm correct in my interpretation, and (b) whether the current JDBC driver provided with PostgreSQL 6.2.1 in fact behaves like this. Herouth