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-14 04:05:04
Message-ID: 001701c1fafc$87286a80$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 Tom Lane 2002-05-14 04:12:32 Re: Quotes in SQL
Previous Message Paul M Foster 2002-05-14 03:51:48 Re: Quotes in SQL