[Pljava-dev] Best way to pass intermediate state

From: schabi at logix-tt(dot)com (Markus Schaber)
To:
Subject: [Pljava-dev] Best way to pass intermediate state
Date: 2006-09-22 09:18:17
Message-ID: 4513AA59.9080904@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi, Thomas,

Thomas Hallgren wrote:
> Take a look at whats offered by the
> org.postgresql.pljava.SessionManager. It has a static method that
> returns a Session object. This object can store arbitrary objects as
> attributes. The difference between the Session and a normal Map, is that
> the stuff stored in the Session is under transaction control. A rollback
> disregards changes made since last commit. The Session object will also
> allow you to add listeners for transactions and savepoints.

Thanks, that's exactly what I was looking for.

Regards,
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/20060922/c358af41/attachment.bin>

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Markus Schaber 2006-09-22 13:18:56 [Pljava-dev] readBytes() / writeBytes()
Previous Message Thomas Hallgren 2006-09-22 08:54:46 [Pljava-dev] readBytes() / writeBytes()