Menu

#13 Superclass-Subclass queries don't work correctly

open
nobody
None
5
2003-05-30
2003-05-30
Anonymous
No

I have a class Employer mapped as a subclass of Person
in one teble 'persons'

The query
'from Person p'
does not show any results even thought there are many
hibernated instances of subclass Employee in the DB

The query
from Employer e
shows only atributes of class Employee, but no
inherited atributes of superclass Person!

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.