Hi Farsad,

Can you post the complete annotations and xml that you are using to define the relationships?

Thanks,

Craig

On Nov 9, 2007, at 10:06 AM, farsad wrote:


I have never encountered this problem under the current circumstances. My
question is if you can have two different <entity>s (or tables in the
database) inherit from the same MappedSuperClass?

I have defined two entities whose corresponding classes both inherit from
the same class.
ie. Entity A and Entity B are both inheriting from class C.

<mappedsuperclass C>

<entityA>
<entityB>

When ever I am writing to A, there is no problem.. when ever I am trying to
write to B, I get the exception in the subject line.

Can anyone help?
Thanks
--
View this message in context: http://www.nabble.com/ org.springframework.dao.InvalidDataAccessApiUsageException%3A- Encountered-unmanaged-object-tf4779217.html#a13672144
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to