This example shows how to have generic spring repository methods for multiple or all repositories, this with generics and mappedsuperclass