Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
- Subject: Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
- From: Chuck Hill <email@hidden>
- Date: Tue, 5 Apr 2005 11:47:11 -0700
What about the Feature -> Issue and Department -> Issue relationships?
On Apr 5, 2005, at 11:38 AM, Hunter Hillegas wrote:
Thanks for the response.
Looking at the plist files:
Feature:
{
columnName = "issue_id";
externalType = int4;
name = issueID;
valueClassName = NSNumber;
valueType = i;
}
Department:
{
columnName = "issue_id";
externalType = int4;
name = issueID;
valueClassName = NSNumber;
valueType = i;
}
Which are the same.
In the Issue entity, the relationships also look the same:
{
destination = Feature;
isToMany = Y;
joinSemantic = EOInnerJoin;
joins = ({destinationAttribute = issueID; sourceAttribute
= recNum; });
name = features;
},
{
destination = Department;
isToMany = Y;
joinSemantic = EOInnerJoin;
joins = ({destinationAttribute = issueID; sourceAttribute
= recNum; });
name = departments;
}
Any other suggestions for things to check?
On Apr 5, 2005, at 11:31 AM, Arturo Perez wrote:
Hunter Hillegas wrote:
I've stared at the code for features and departments for about an
hour and they *look* identical to me... I must be missing something
obvious but I can't see it.
Sounds like your eomodel has a problem. Did you look at the plist
entries for the above as well? They sound like the PK/FK definitions
and relationships should be similar. If they are not then that would
be your problem.
-arturo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden