I am doing something like this:
PortfolioNotifications pn = (PortfolioNotifications)
EOUtilities.createAndInsertInstance(ec, "PortfolioNotifications");
this.addObjectToBothSidesOfRelationshipWithKey(pn,"notification");
NotificationDocumentsTab ndt = (NotificationDocumentsTab)
EOUtilities.createAndInsertInstance(ec,"NotificationDocumentsTab");
this.notification().addObjectToBothSidesOfRelationshipWithKey
(ndt ,"documentsTab");
ec.saveChanges();
However the reverse relationship from ndt to pn doesn't get filled.
Is this because pn wasn't committed yet?
portfolio -- pn -- ndt (they are all one-one relationships)
Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]