We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
Neo4j 支持 XA 协议事务、死锁检测、事务恢复、JTA。
更新:回答OP的评论:
面向文档的数据库(CouchDB和MongoDB)只是一种NoSQL数据库,您的理解是错误的。 键/值数据库(Riak、Redis、Voldemort)、面向列的数据库(HBase 和 Cassandra)、面向图数据库(Neo4j、 HypergraphDB 和 FlockDB)都属于 NoSQL 数据库家族。
如果您专门寻找面向文档的数据库,您可能应该更新您的问题,因为它具有误导性。
Neo4j does support XA-protocol transactions, deadlock detection, transaction recovery, JTA.
Update: Answering a comment from the OP:
Document-oriented databases (CouchDB and MongoDB) are just ONE kind of NoSQL databases, your understanding is wrong. Key / Value databases (Riak, Redis, Voldemort), column-oriented databases (HBase and Cassandra), graph-oriented databases (Neo4j, HypergraphDB and FlockDB) all belong to the NoSQL databases family.
If you're specifically looking for a document-oriented database, you should maybe update your question because it's misleading.
嗯,这是一个是和一个否的答案,是的,一些 NoSQL 数据库提供原子操作,但这些不是 RDMBS 意义上的事务,并且通常只影响 单个文档。
然而,您有一个更大的问题,您的 NoSQL 连接资源需要支持 XA 事务,这是一个很大的问题,我在最流行的产品中找不到任何有关 XA 事务支持的参考。您总是可以创建自己的 XA 资源或者可能将内容放入 UserTransaction 中?
Well this is a yes and a no answer, yes a few NoSQL db's offer atomic operations but these are not transactions in the sense of a RDMBS and generally only affect a single document.
However you have a bigger problem, your NoSQL connection resource would need to support XA transactions which is a big ask I cannot find any reference to XA transaction support in the most popular offerings. You could always create your own XA resource or possibly place things inside a UserTransaction?