Hey,
I want to implement transaction mechanism.
Think about world document each change saved in a temporal workspace and at the end the user can press on save and the changes apply to the original document or close and the document will not be changed.
My client can do a lot of changes to the configuration we need to save this changes in a temporal workspace (in order to mange the relation between records ... and in order to prevent lost of his work in case that the client crash)
At the end (he can do the changes for a week) he can choose apply changes that will merge those changes to the configuration or cancel.
So, i need to implement here something similar to transaction (i can use transaction because the client can do changes for a week).
does any one have an idea on how transaction implemented in DB?
any idea , references, article will be more than welcome.
Thank you
p.s - my application is in java.
I want to implement transaction mechanism.
Think about world document each change saved in a temporal workspace and at the end the user can press on save and the changes apply to the original document or close and the document will not be changed.
My client can do a lot of changes to the configuration we need to save this changes in a temporal workspace (in order to mange the relation between records ... and in order to prevent lost of his work in case that the client crash)
At the end (he can do the changes for a week) he can choose apply changes that will merge those changes to the configuration or cancel.
So, i need to implement here something similar to transaction (i can use transaction because the client can do changes for a week).
does any one have an idea on how transaction implemented in DB?
any idea , references, article will be more than welcome.
Thank you
p.s - my application is in java.