The question may sound funny but I think this should be possible.
What I want is to use a repository that is purely custom but is exposed just like a Repository. Thi
The easier way is to use spring-data-keyvalue project which does what you are trying to do.