ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query

From: "Xinlin Qian" <xlqian(at)netdao(dot)com>
To: <pgsql-general(at)PostgreSQL(dot)org>
Subject: ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query
Date: 2002-05-17 02:03:04
Message-ID: 001e01c1fd46$fb74d300$4f06a8c0@qian
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Our system is written by java, and connect to Postgresql with JDBC.
Sometimes, when Connection.setAutoCommit() function is executed, a SQLException is throwed, and Error message is as following:
ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query

This error often occurs when system is busy. so why?

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Rodriguez 2002-05-17 03:49:33 Download postgresql
Previous Message Stephan Szabo 2002-05-17 01:17:24 Re: if !NULL ?