Quantcast
Viewing all articles
Browse latest Browse all 128

Using Redis as the Spring cache manager in order to cache custom java objects

Hello,

I would like to use Redis as a cache manager in order to cache JPA entities coming from a MySQL database.

I am new to Redis and it seems Redis is only able to cache the basic types/structures it knows (strings, hashes, etc.)

My question is: can I use Redis (together with Spring cache abstraction) as a spring cache manager to cache my custom objects (say a Person, Order, Customer, etc...)?

Regards,

J.

Viewing all articles
Browse latest Browse all 128

Trending Articles