Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

How to use composite key as id in spring redis entity as equivalent to @embedded id

$
0
0

I am using a spring data redis repository for retrieval and persistence into Redis. But I need the id to be composite of 2 fields. How can this be achieved.Is there any way equivalent to @EmbeddedId?


Viewing all articles
Browse latest Browse all 2204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>