Hi,

I have a bit of a weird case when I have 2 classes A and B inheriting
from C, and I should be able to convert an object of type A to type B
(and the other way around too).

These 2 classes are mapped as sub-class in the mapping using a
discriminator.

Will hibernate be able to persist the entity if it's of type A in the
database but it was converted to type B in the application ?

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to