Re: Using ON_ERROR_ROLLBACK functionality in JDBC

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Using ON_ERROR_ROLLBACK functionality in JDBC
Дата
Msg-id Pine.BSO.4.63.0607281119360.11376@leary2.csoft.net
обсуждение исходный текст
Ответ на Re: Using ON_ERROR_ROLLBACK functionality in JDBC  (Mark Lewis <mark.lewis@mir3.com>)
Список pgsql-jdbc

On Fri, 28 Jul 2006, Mark Lewis wrote:

> Does the current savepoint implementation in the driver require a
> separate round-trip?

Yes.  Creating, rolling back to, or releasing a savepoint each currently
make a server round-trip.  If you're suggesting queueing these up so that
it sends these with queries instead of alone, I think that's something the
driver could do if it was creating savepoints itself, but would be tougher
to do for user savepoints.  For user savepoints I think you need to get
feedback to the caller immediately upon command execution rather than with
a later query.  Consider something like trying to release an invalid
savepoint.  You need to tell the user immediately.

Kris Jurka


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Using ON_ERROR_ROLLBACK functionality in JDBC
Следующее
От: Mike Morris
Дата:
Сообщение: literal value in the select fieldlist returns not the string, but a java String object