This one time, at band camp, Jeff Lowery said:

JL>> Castor will handle all of the above if the mapping descriptor is
JL>> set up correctly. For Castor to persist the DimensionType object
JL>> when the Project object is persisted, the object relationship must
JL>> implment composition using the 'depends' keyword:
JL>>
JL>>
JL>http://castor.exolab.org/castor-one.html#Dependent-and-related-relationships
JL>
JL>Yes, the depends keyword was the missing piece of the puzzle.  I had read
JL>that section before but didn't understand the context at the time.  I did
JL>find some examples of one-to-one relations in the test cases starting with
JL>the TestLazyEmployee case, which finally gave me the clue.
JL>
JL>Hmmm... I might just get it in my head to write an article on Castor SQL
JL>mappings (unless Dennis Sosnoski beats me to it). I would save other dummies
JL>like myself a whole week of pain.

Jeff,

If you're interested to improve the documentation for Castor JDO,
please grab a copy from the  CVS tree and start working on it. You
can always submit your changes to me for review before I commit
them.

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