Hello,
If I have tables Foo and Bar defined in the torque database schema and Bar is linked to Foo by a foreign key reference then Torque will create a Foo Java object with an addBar(Bar bar) method and will also create a Bar Java object with a setFoo(Foo foo) method. Now in the case of the Foo object the addBar(Bar) method is very cool since I can simply add Bar objects to Foo using this method and when calling the save method on the Foo object all Bar objects are inserted/updated and the linkage is handled. However, if i call the setFoo (Foo foo) method on the Bar object, the linkage is handled, but foo will not be saved when calling the save method on Bar. This is unfortunate and inconsistent given the handling of the addXXX methods. Ok, so unless I'm missing something I can add this functionality. Thanks, Byron --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
