Create a JPA/hibernate index and use fields from mappedsupperclass together with fields from concrete entity
How to create an index with JPA/hibernate and use fields from mappedsupperclass together with fields from concrete entity