I\'m trying to implement a repository with support to multiple entities using Inheritance and SpEL. But, It works fine only for a single entity and not for more than one.