Re: PREPARE and transactions

Поиск
Список
Период
Сортировка
От James Robinson
Тема Re: PREPARE and transactions
Дата
Msg-id A93A5E4E-C5EF-11D8-8247-000A9566A412@socialserve.com
обсуждение исходный текст
Ответ на Re: PREPARE and transactions  ("Jeroen T. Vermeulen" <jtv@xs4all.nl>)
Список pgsql-hackers
[ all snipped ]

A problem with redefining the lifetime of a PREPARE'd statement 
according to if it was defined within an explicitly managed transaction 
or not would be with middlewares such as J2EE / EJB containers. The 
container / JDBC driver performs most operations within explicitly 
managed transactions *by the middleware container*, and, if the 
middleware container is configured to cache prepared statements between 
transactions, then it will expect them to live well beyond their 
initial explicitly-managed transaction.

----
James Robinson
Socialserve.com



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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: JDBC prepared statements: actually not server
Следующее
От: "Thomas Hallgren"
Дата:
Сообщение: Re: bug in GUC