Re: Is autocommit=true bad?

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Is autocommit=true bad?
Дата
Msg-id Pine.LNX.4.33.0401281830220.21151-100000@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Is autocommit=true bad?  (Net Llama! <netllama@linux-sxs.org>)
Список pgsql-general

On Wed, 28 Jan 2004, Net Llama! wrote:

> On Wed, 28 Jan 2004, Kris Jurka wrote:
> > On Tue, 27 Jan 2004, Net Llama! wrote:
> >
> > > Greetings,
> > > I've been tasked with maintaining a postgresql-7.3.4 database that has a
> > > J2EE app on the front end.
> > >
> > > In the pgsql log I see thousands upon thousands of entries like these:
> > > WARNING:  COMMIT: no transaction in progress
> >
> > I believe this is a symptom of an old version of the jdbc driver.  Perhaps
> > upgrading that would make this go away.
>
> OK thanks.  I'm pretty ignorant of jdbc drivers.  How could I determine
> what version is the most recent, and which version is in use?  thanks.
>

The most recent version is 7.4.1 and can be downloaded from here:
http://jdbc.postgresql.org/download.html  This will work on all older
versions and should be used regardless of your database version.  To
determine what version you currently have you can use something like
this...

Connection conn = /* Get connection somehow */
DatabaseMetaData dbmd = conn.getMetaData();
System.out.println(dbmd.getDriverVersion());

Kris Jurka


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Specifying many rows in a table
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: Specifying many rows in a table