Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
- Subject: Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
- From: Hunter Hillegas <email@hidden>
- Date: Tue, 5 Apr 2005 11:38:25 -0700
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:
This email sent to email@hidden