Re: setAutoCommit(false)
От | Dave Cramer |
---|---|
Тема | Re: setAutoCommit(false) |
Дата | |
Msg-id | 1084386306.1540.174.camel@localhost.localdomain обсуждение исходный текст |
Ответ на | Re: setAutoCommit(false) (Thomas Kellerer <spam_eater@gmx.net>) |
Ответы |
Problem with transactions
|
Список | pgsql-jdbc |
Thomas, This is very definitely an old driver. The best way to find this is to write a single line program with a main and the following line. Class.forName("org.posgtgresql.Driver") then run java -verbose to see where it is loading the driver from. Dave On Wed, 2004-05-12 at 11:48, Thomas Kellerer wrote: > Kris Jurka schrieb: > >>I do however have a user saying that he is using latest PostgreSQL > >>(postgresql 7.4.2 with pg74.213.jdbc3 is what he told me) and our call > >>to setAutoCommit(false) apparently returns > >> > >>java.sql.SQLException: ERROR: SET AUTOCOMMIT TO OFF is no longer > >>supported > >> > > > > The user is not using a 7.4 series JDBC driver. They likely have the 7.3 > > driver hidden somewhere in their classpath which is being used. This > > error and associated stack trace are not from a 7.4 driver. > > > > I'm seeing the same error with the 7.4 driver and the dev driver against > the current Win32 builds... > > Thomas > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > > > > !DSPAM:40a24b75281861655120010! > > -- Dave Cramer 519 939 0336 ICQ # 14675561
В списке pgsql-jdbc по дате отправления: