Hello-,
My scenario is like this. I have employee , contractor classes and contractor extends employee and the employee and contrator are mapper using <subclass> strategy(table-per-hierarchy).
May be this quesion is naive but still i wanted to ask can i read a row with discriminator 'contractor' and update it has an employee with discriminator 'employee'? In other words i wanted to change the contractor to employee/ but i don't want to create a new record but i wnat to chnage the existing record. can i do that?
Thanks
Karuna
|