BHANSALI MUKESH
BHANSALI MUKESH

Reputation: 119

Does Spring Data Redis support Externalizable?

I am new to Redis things. I have some Object which is Externalizable. But Spring Data Redis is not working with these Objects. Does Spring Data Redis need Serializable strictly or there is some way to work with Externalizable as well?

Upvotes: 0

Views: 81

Answers (1)

mp911de
mp911de

Reputation: 18119

Spring Data Redis supports different serialization strategies to represent your objects in binary form so it can be stored in Redis.

One of the serialization formats is using Java's serialization mechanism via ObjectOutputStream. There are no Spring Data specifics when using Java serialization.

Upvotes: 2

Related Questions