D
David Smith
Hello,
I have some objects (EJBs) that I would like to keep old versions of.
This is both for reasons of keeping an audit trail and also to
implement a save/discard feature, whereby users can make changes to
the objects and then decide whether they want to keep these changes or
discard them (and roll back to an older version) when they have
finished manipulating all the objects.
The objects are entity beans being persisted to a relational database.
Does anyone have any thoughts on the best way to store this version
information? I am defining "best" here as being the most generic and
least obtrusive technique. Perhaps there is an API somewhere that can
handle this, because it seems to be quite a common problem, but I
haven't been able to find anything suitable.
Thanks,
David.
I have some objects (EJBs) that I would like to keep old versions of.
This is both for reasons of keeping an audit trail and also to
implement a save/discard feature, whereby users can make changes to
the objects and then decide whether they want to keep these changes or
discard them (and roll back to an older version) when they have
finished manipulating all the objects.
The objects are entity beans being persisted to a relational database.
Does anyone have any thoughts on the best way to store this version
information? I am defining "best" here as being the most generic and
least obtrusive technique. Perhaps there is an API somewhere that can
handle this, because it seems to be quite a common problem, but I
haven't been able to find anything suitable.
Thanks,
David.