This one time, at band camp, Alexey A. Efimov said:

AAE>You can't select/update/create/remove depended objects. To manipulate
AAE>such class objects, remove depends link in mapping XML.

My apologies, Ron, for my first reply to this message back in early
September. I read the message too fast and missed the key word -
dependent. Therefore my response is bunk.

You need to load the master object and navigate to the slave object.
Please see the following doc on dependent relationships: 

    http://www.castor.org/castor-one.html#Dependent-and-related-relationships

Bruce

AAE>-----Original Message-----
AAE>From: Ron Alsobrook [mailto:[EMAIL PROTECTED] 
AAE>Sent: Friday, September 05, 2003 6:07 AM
AAE>To: [EMAIL PROTECTED]
AAE>Subject: [castor-dev] Loading a read only dependent object
AAE>
AAE>
AAE>While trying to directly load a dependent object I get this error:
AAE>
AAE>org.exolab.castor.jdo.ClassNotPersistenceCapableException: The class 
AAE>com.magicalminis.Image is not persistence capable: no mapping was 
AAE>defined for the class
AAE>
AAE>I don't intend to modify this object in any way, I'd just like to load 
AAE>it.  I tried loading it read only but still received the error.  Is 
AAE>there any way to do this?  Thanks.

Bruce
-- 
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

The Castor Project 
http://www.castor.org/

Apache Geronimo 
http://incubator.apache.org/projects/geronimo.html

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

Reply via email to