Received: from gandalf.radix.com.br ([200.249.104.5]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f2CIwUx47989 for ; Mon, 12 Mar 2001 13:58:31 -0500 (EST) (envelope-from nelson@radix.com.br) Received: (qmail 17173 invoked by uid 99); 12 Mar 2001 17:29:09 -0000 To: pgsql-interfaces@postgresql.org Subject: JDBC: can't set transaction isolation level Message-ID: <984418149.3aad0765ac09c@gandalf.radix.com.br> Date: Mon, 12 Mar 2001 14:29:09 -0300 (BRT) From: nelson@radix.com.br MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.3 X-Originating-IP: 200.249.104.8 X-Archive-Number: 200103/97 X-Sequence-Number: 1258 Hi, I need to set transaction isolation level to SERIALIZABLE in a java program. Calling the method setTransationIsolation of class Connection has no effect: the isolation level still remains READ_COMMITTED (the default). I tried to create a Statement and set the isolation level as an ordinary SQL - stmt.executeUpdate("set transaction isolation level serializable"); - and it works fine. And finally, the method Connection.getTransationIsolation() always returns 2, whatever the isolation level is set to. These problems happen with PostgreSQL 7.0.3. Can you help me? Thanks.