用于在Redis中存储关系数据的Java框架

Mic*_*ksa 2 java architecture nosql redis

是否有一个Java框架来存储Redis中的关系数据?用于简单用例的东西,例如:

  • 1篇文章到N条评论 - 按评论创建日期排序.

mp9*_*1de 5

您有多种选择:

  1. jOHM(Object Hash Mapper,https://github.com/xetorthio/johm)
  2. Hibernate OGM Redis(5.0.Beta,技术预览https://docs.jboss.org/hibernate/ogm/5.0/reference/en-US/html/ch15.html)
  3. 春季数据Redis的键值(https://github.com/spring-projects/spring-data-redis/pull/156,https://github.com/christophstrobl/spring-data-keyvalue-redis)

jOHM非常成熟,而Hibernate OGM Redis则相当新颖.

HTH,马克

更新

  • 添加了Spring Data Redis Key-Value PR的链接