I have a question about using namedqueries and inheritance
if I have an assembly:
User (abstract) not persisted ¦ __________________________________ ¦ ¦ ¦ Customer Manager Administrator
And you place them, for example, in one table (inheritancetype)
If you are working with a Userrepository to get them all, you could work with namedqueries. To do this, you will need to write namedqueries in the User object.
Is it possible to get child classes using namedqueries in the parent class?
What if I prefer to use inheritancetype = Table by class, then my namedQ queries cannot be the same?
source share