When I mention Infinispan here, I mention it as the backend. That's an alternative to MongoDB: we support Infinispan, EhCache, MongoDB, CouchDB, Neo4J. Back to Infinispan, it is an XAResource so if your Oracle transaction fails, all changes to Infinispan will be rollbacked.
For Mongo or other datastores that do not support transactions, we are working on a ErrorReport API that we hope will morph into a compensation API. You can look at the work in progress at https://github.com/hibernate/hibernate-ogm/pull/501
_________________ Emmanuel
|