JDBC, PgSQL 7.2: transactions not supported!!

From: Zengfa Gao <zfgao(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: JDBC, PgSQL 7.2: transactions not supported!!
Date: 2002-12-17 17:10:14
Message-ID: 20021217171014.32753.qmail@web41007.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I am using JDBC Driver to access PgSQL 7.2. When I
add:

Statement.executeQuery("BEGIN WORK;");
...
Statement.executeQuery("Insert.........");
...

Statement.executeQuery("COMMIT WORK;");

in the java code.

I got:
transactions not supported!!

According the document of 7.2, transaction is
supported. Does anyone know what's wrong here?

Thanks!

Zengfa

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Barry Lind 2002-12-17 17:43:49 Re: JDBC, PgSQL 7.2: transactions not supported!!
Previous Message Neil Conway 2002-12-17 16:34:29 Re: prepared statements and analyze in 7.3