Re: TransactioEvent
Martin Matula <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jan, TransactionEvent works as any other event - i.e. if one does commit, you will get "changed" event. If the transaction is rolled back, you will get "changeCancelled" event. See last few comments at http://mdr.netbeans.org/issues/show_bug.cgi?id=25186 to find out why we decided to do it this way. Martin Jan Kozusznik wrote: > Dear developers, > I decided to use TransactionEvent's but I don't know how to find out > that the Transaction is commited or rollbacked. What about adding > information about commit or rollback to the TransactionEvent. >