agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Best way to pass intermediate state
Date: Fri, 22 Sep 2006 11:18:17 +0200
Message-ID: <4513AA59.9080904@logix-tt.com> (raw)
In-Reply-To: <45139D4A.4020002@tada.se>
References: <450ABBE5.3060708@logix-tt.com>
	<451298E8.6090308@logix-tt.com>
	<45139D4A.4020002@tada.se>

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;



view thread (4+ messages)

Message-ID: <4513AA59.9080904@logix-tt.com>
Permalink:  ../4513AA59.9080904@logix-tt.com/
Also on:    postgresql.org/message-id/4513AA59.9080904@logix-tt.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Best way to pass intermediate state
  In-Reply-To: <4513AA59.9080904@logix-tt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox