Hibernate Team |
|
Joined: Tue Aug 26, 2003 3:00 pm Posts: 1816 Location: Austin, TX
|
It has to do with Hibernate's support for "polymorphic" queries. Say you have a class named Person mapped plus two others named Student and Instructor both of which extend from Person. Further, say you've mapped Student with explicit polymorphism and Instructor with implicit. In that case any queries looking for the Person class would return back not only all Person objects matching the criteria, but also all Instructors as well since it was mapped with implicit polymorphism.
Basically, explict polymorphism tells Hibernate not to return these instances during a query unless that class is explicitly named in the query, not just because one of its superclasses was named.
HTH
|
|