2

Is there a Java framework to store relational data in Redis? Something for simple use cases e.g:

  • 1 article to N comments – sorted by comment creation date.

2 Answers 2

5

There are multiple options you have:

  1. jOHM (Object Hash Mapper, https://github.com/xetorthio/johm)
  2. Hibernate OGM Redis (5.0.Beta, tech preview https://docs.jboss.org/hibernate/ogm/5.0/reference/en-US/html/ch15.html)
  3. Spring Data Redis Key-Value (https://github.com/spring-projects/spring-data-redis/pull/156, https://github.com/christophstrobl/spring-data-keyvalue-redis)

jOHM is quite mature whereas Hibernate OGM Redis is quite new.

HTH, Mark

Update

  • Added the link to the Spring Data Redis Key-Value PR
Sign up to request clarification or add additional context in comments.

1 Comment

I wonder whether jOHM is still alive and is yes, which forks is the right one. Spring seems to be promising. Thank you @mp911de so far.
0

Here is a good article about Redis based Live Objects introduced in Redisson framework.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.