This one time, at band camp, Mark Koch said:

MK >Why does Castor require that the group be "created" independently?   Why
MK >doesn't _db.create(master) take care of the creation and insert.

Mark,

The answer is in the mapping descriptor for each class:

<class name="jdo.TestDetail" depends="jdo.TestMaster" access="shared" identity="id">
                             ^^^^^^^^^^^^^^^^^^^^^^^^
but see also:

<class name="jdo.TestGroup" access="shared" identity="id">

Notice that TestDetail is defined as being dependent upon TestMaster
whereas TestGroup is not. Digging further, you'll notice that
TestDetail2 and TestDetail3 are defined as being dependent upon
TestDetail.

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