This one time, at band camp, Rodrigo Paes said:
RP>If save-automatic = true then when I execute a Update or Create in the
RP>class which has this attribute the Attribute will be updated or created too.
RP>
RP>This functionality exists in another persistence layer implemented for
RP>Artem Rudoy at http://artyomr.narod.ru/ based in Scott Ambler's design.
RP>But it has some bugs and limitations.
Rodrigo,
What you're asking for seems to be similar to a dependent object whereby
one object is dependent upon a master object. This is achieved via the
mapping descriptor. See the following for more information:
http://www.castor.org/castor-one.html#Dependent-and-related-relationships
and
http://www.castor.org/jdo-faq.html#Technical-questions
(see the following questions:
1. Can Castor automatically create/remove related objects?
2. I call db.remove() on the dependent object and commit, but this doesn't
work...)
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