i have a inheritance hierarchy like this
Employee
|
|__Assessee
|
|__Appraiser
|
|__Reviewer
and there is one table Employee representing all the information.
when i am trying to map Employee.hbm its saying that no discriminator
found for Assessee (single table per class). I am not sure whether to put a dcriminator column(Employee_Type) in database because the type might change at runtime. Is there a other way to do it without discriminator.
Thanks
Employee
|
|__Assessee
|
|__Appraiser
|
|__Reviewer
and there is one table Employee representing all the information.
when i am trying to map Employee.hbm its saying that no discriminator
found for Assessee (single table per class). I am not sure whether to put a dcriminator column(Employee_Type) in database because the type might change at runtime. Is there a other way to do it without discriminator.
Thanks