2

有人对 Hibernate OGM vs. Kundera 的使用有反馈吗?我知道这两个框架正在为 NoSQL 解决方案提供 Java Persistence (JPA) 支持,我希望从研究这两个框架的人的经验中受益。听起来昆德拉支持更多的 NoSQL 数据源。

4

2 回答 2

5

Although it is not a direct answer to your question, and because I have no detailed knowledge on Hibernate OGM, I would like to leave you some points concerning Kundera (if this helps you in some way). Kundera has several interesting points:

  • support of multiple datastores
  • very simple to setup
  • very elegant in terms of code handling (you write very few Kundera code)
  • JPA compliant
  • performant

Apart from this, the Kundera team is very responsive and releases new versions in a very regular basis (every 2 months or so there is a new release!). These releases are made to support new features of supported datastores... this is especially important because many of these data stores (Cassandra, etc.) are still being very actively developed.

HTH.

于 2013-10-10T12:32:01.267 回答
2

我不知道这个问题是否仍然令人感兴趣,但我最近使用了 hibernate-ogm 并发现了一个非常有趣的点来考虑:

您可以将它与通常的休眠混合使用。我写了一个小测试程序,到目前为止可以使用 mysql、postgresql(orm) 和 MongoDB(ogm),而persistence.xml 文件只有一点点不同。

对我来说,这使得不仅测试不同的数据库变得非常容易,而且测试不同类型的数据库也很容易:)

于 2015-07-15T12:35:08.603 回答