Обсуждение: JDBC problem/question

Поиск
Список
Период
Сортировка

JDBC problem/question

От
Thomas Kellerer
Дата:
Hello,

I'm trying out the current Win32 dev build (thanks a bunch for making it
available as a binary!) with the current development JDBC driver. When I
connect to my database and call setAutocommit(false) I get an error message:

SET AUTOCOMMIT TO OFF is no longer supported

This also happens with the 7.4 JDBC driver.

Is this a problem with the Win32 build, or is autocommit off really no
longer supported (which I cannot believe)?


Cheers
Thomas


Re: JDBC problem/question

От
Bruce Momjian
Дата:
Thomas Kellerer wrote:
> Hello,
>
> I'm trying out the current Win32 dev build (thanks a bunch for making it
> available as a binary!) with the current development JDBC driver. When I
> connect to my database and call setAutocommit(false) I get an error message:
>
> SET AUTOCOMMIT TO OFF is no longer supported
>
> This also happens with the 7.4 JDBC driver.
>
> Is this a problem with the Win32 build, or is autocommit off really no
> longer supported (which I cannot believe)?

Autocommit has been moved out of the server into the client interfaces
like jdbc and psql.  I thinnk a newer jdbc driver will fix this.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073