-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redis repository: Error while converting to Timestamp #2898
Comments
Have you tried registering a custom |
I was mistaking that because it did convert Timestamp to byte[], then it should do the inverse conversion as well. By following documentations, I created a
|
You must register a bean with the name redisCustomConversions like this:
Please add to the documentation that the bean must match by name |
Using Spring data Redis 3.2.5 and repository,
Given this structure
And
This test fails and throws exception:
But the timestamp is saved correctly in redis:
hmget Fruit:1 id name createdAt
The text was updated successfully, but these errors were encountered: