Re: question about rollback and SQLException

Поиск
Список
Период
Сортировка
От Andy Kriger
Тема Re: question about rollback and SQLException
Дата
Msg-id OJEFIHHAALOBKKJEOMBDKEPCDBAA.akriger@greaterthanone.com
обсуждение исходный текст
Ответ на Re: question about rollback and SQLException  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Список pgsql-jdbc
That's what I thought too, except I'm not sending the rollback cmd as a
String, I'm using JDBC's Connection.rollback(), which would seem to suggest
that the error is in the driver (which is why I'm posting to pgsql-jdbc ->
hoping a driver developer can comment on this).

-----Original Message-----
From: Ross J. Reedstrom [mailto:reedstrm@rice.edu]
Sent: Thursday, January 23, 2003 12:32
To: Andy Kriger
Cc: Pgsql-Jdbc
Subject: Re: [JDBC] question about rollback and SQLException


On Thu, Jan 23, 2003 at 12:07:31PM -0500, Andy Kriger wrote:
> I received this exception when trying to rollback a transaction through
the
> Postgres JDBC driver (build106) used by a webapp running in Resin (2.0.6).
I
> have tried setting up the connection pool in my web.xml to use both
> javax.sql.DataSource and javax.sql.XADataSource, but both give me this
> exception:
>
> java.sql.SQLException: ERROR:  parser: parse error at or near "qrollback"

"qrollback"? Sure looks like a typo in your code somewhere, to me.

Ross



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

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: question about rollback and SQLException
Следующее
От: "Andy Kriger"
Дата:
Сообщение: Re: question about rollback and SQLException