[Pljava-dev] Savepoints and PL/Java

From: schabi at logix-tt(dot)com (Markus Schaber)
To:
Subject: [Pljava-dev] Savepoints and PL/Java
Date: 2006-10-04 08:48:53
Message-ID: 45237575.3060204@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi, Jeffrey,

Jeffrey Lyon wrote:

> I see that, although setSavepoint and releaseSavepoint are available,
> commit and rollback are not. What is the point of set/
> releaseSavepoint if I cannot commit or rollback from a Savepoint? Is
> there any other way to accomplish the above?

Releasing a savepoint is equivalet of committing it (but the whole
transaction or encapsulating savepoints can still be rolled back,
"destroying" the work), and as Thomas already said, rollback(savepoint)
is available.

HTH,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20061004/1add8be7/attachment.bin>

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2006-10-06 05:11:57 [Pljava-dev] Savepoints and PL/Java
Previous Message Thomas Hallgren 2006-10-04 05:17:44 [Pljava-dev] Savepoints and PL/Java