Hi

I have created 2 objects: A and B.

The mapping is very simple, A has a collection of B. In the mappings fil, B is 
setup to have:

  <class name="B" identity="id" depends="A" >
    ...
  </class>

Now, each time I create A, B is created. Great!! Loading A also works, the 
objects are retrieved correctly.

The problem is when I try to load B, I get a no mapping error:

"Unable to extract entity from database: The class B is not persistence 
capable: no mapping was defined for the class"

To fix this problem, all I need to do is to remove the "depends" on A. However, 
removing this makes it difficult to do updates/creates on A.

Can you please assist?
Keith

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to