Roedy Green <> wrote in message
> Usually the pod deals with that does it not? It will rollback objects
> if you don't commit the transaction. In that case, you should not
> mark the objects specially in any way.
Yes, the database would handle transactions, but for this particular
project the time-frame is too long. The following scenario could
occur:
Person A creates some objects and saves them as a permanent change.
That's version 1.
Person B does some modifications the next day, but doesn't yet save or
discard them, they're a work in progress. However, they have to be
kept in the database so that they can be worked on in the future, by
both Person B and other people.
Person A comes back into the system a few days later and then decides
to make some more changes. Now he's happy with all the objects, so he
saves them as the second permanent change.
I don't think that normal database transactions can be used here, can
they, because the intermediate states that a normal transaction would
just roll back have to be saved to the database?
Kind regards,
David.
|