This one time, at band camp, Adam Sherman said:

AS>Is it necessary to call db.create(Object) for each related object? JDO
AS>doesn't seem to store the objects in the collection I set in the master
AS>object.

Adam,

This realy depends most on your object model. Maybe to mitigate the
number of create statements you could make use of the master/slave
relationship denoted by the 'depends' keyword in the mapping
descriptor. See
http://castor.exolab.org/castor-one.html#Dependent-and-related-relationships
for more information. Also see the examples in src/examples/jdo,
specifically the mapping descriptor for the 'depends' keyword and
Test.java for the client code.

I hope this helps.

Bruce
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

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

Reply via email to