• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
      • From: Chuck Hill <email@hidden>
    • Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
      • From: Hunter Hillegas <email@hidden>
References: 
 >addObjectToBothSidesOfRelationshipWithKey Fails Silently? (From: Hunter Hillegas <email@hidden>)
 >Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently? (From: Arturo Perez <email@hidden>)

  • Prev by Date: Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
  • Next by Date: Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
  • Previous by thread: Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
  • Next by thread: Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
  • Index(es):
    • Date
    • Thread