[Patsystem-users] strange pat.transaction doesn't but snapshot does
Brought to you by:
nthx
|
From: Chris <ci...@ya...> - 2005-06-14 07:51:40
|
Hi!
I have following situation:
/** @@pat.transaction */
public void updateEntry(Entry entry, int id) {
remove(id); // pat.transaction
add(entry); // pat.transaction
}
the above method updates entry by removing the old one
and then inserting the new one.
After running this method I get what I expect, the
fields in entry are updated. I checked it no problem.
But it should be acomplished as a pat.transaction so
the changes should be visible after reloading the
application. But they're not updated.
But in the same situation after running updateEntry
method when I run takeSnapshot(), after reloading
everything is fine. The entry is updated.
Where is the problem, what am I forgetting?
thanks for help
ciapecki
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|