Re: Adding transactions info to mdr events

Svata Dedic <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
Hi, Martin,

Martin Matula wrote:
> Why do you need the transaction be passed into events?

Well, since the events are fired asynchnronously to the transaction, one 
can never be sure which events were generated inside a transaction, so 
they should be grouped by the listener into one undo operation. One way 
out of that is to receive the transaction event in the stream of MDR 
change events, which has the order of events defined.
IMHO the events can be fired to other listener type, from some other 
event source but using the thread which dispatch the change events.

-Svata
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.