Hi
My version of NHibernate is 1.2
I have a class B that inherits from class A, and most of the objects are instances of class A and some are instances of class B (incomplete inheritance).
For this i have adopted a joined-subclass strategy, one table for objects of class A and another table for objects of class B.
My problem is when i try to create (and persist) a object of class B based on a preexisting object of class A, i get the error "Unexpected row count: 0; expected: 1". NHibernate thinks that a record for object B already exists on table B (but only exists on table A).
Any ideas ?
Sorry for my bad english.
Desbaratizador
|