Hi there,
I have a simple question about Inheritance. As I read in the page (
http://www.hibernate.org/hib_docs/nhibe ... tance.html), 3 methods are described to make inheritance. I've been searching google since yesterday but I couldn't find any useful information about my subject.
Imagine 2 classes, FirstClass and SecondClass. SecondClass inherits FirstClass. (class SecondClass : FirstClass ) Remember the second method, which is about making table for each class and using subclass-join tag.
The table which contains information about FirstClass should be OK, but I have some question marks about second table. As I inherit FirstClass, SecondClass has the inherited properties, and one more unique property which is not inherited, only defined on SecondClass. My question is about second table, which contains information about SecondClass, should I open fields for inherited properties, or only one field to unique property which is not inherited ?
If I only should open field for unique property, then, where will the inherited properties on SecondClass be stored ?
Thanks.