From: | James Robinson <jlrobins(at)socialserve(dot)com> |
---|---|
To: | "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl> |
Cc: | Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>, Richard Huxton <dev(at)archonet(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: PREPARE and transactions |
Date: | 2004-06-24 15:03:33 |
Message-ID: | A93A5E4E-C5EF-11D8-8247-000A9566A412@socialserve.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Cyril VELTER | 2004-06-24 15:11:48 | [Re] Re: PREPARE and transactions |
Previous Message | Dave Cramer | 2004-06-24 15:02:04 | Re: JDBC prepared statements: actually not server |