In section 15.19. Polymorphism, in the note block it said that
This can be altered by using either the org.hibernate.annotations.Polymorphism annotation (global, and Hibernate-specific) or limiting them using in the query itself using an entity type expression.
So I believe a sample applying limitation on polymorphic queries is needed |