Hibernate Team |
|
Joined: Sun Sep 14, 2003 3:54 am Posts: 7256 Location: Paris, France
|
Hi,
Because MongoDB itself does not support transaction, what you are asking is not likely to be doable (for MongoDB at least). Some have explored compensation based transactions for document stores but that is still early stage and a bit ad hoc.
What we plan to have is an error report API that would tell you which inserts have worked and which have not. Based on that, you will be able to manually decide to undo the inserts for example. The issue targeting that feature is https://hibernate.atlassian.net/browse/OGM-465
_________________ Emmanuel
|
|