For the latest stable version, please use Spring Data Redis 3.4.0!spring-doc.cn

Redis Repositories

This chapter explains the basic foundations of Spring Data repositories and Redis specifics. Before continuing to the Redis specifics, make sure you have a sound understanding of the basic concepts.spring-doc.cn

The goal of the Spring Data repository abstraction is to significantly reduce the amount of boilerplate code required to implement data access layers for various persistence stores.spring-doc.cn

Working with Redis Repositories lets you seamlessly convert and store domain objects in Redis Hashes, apply custom mapping strategies, and use secondary indexes.spring-doc.cn

Redis Repositories require at least Redis Server version 2.8.0 and do not work with transactions. Make sure to use a RedisTemplate with disabled transaction support.