• 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: Unable to map destination
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to map destination


  • Subject: Re: Unable to map destination
  • From: Lachlan Deck <email@hidden>
  • Date: Tue, 8 May 2007 08:06:17 +1000

Hi there,

On 08/05/2007, at 7:43 AM, Guilherme melo wrote:

hello all , I am trying to access a field in a to one mandatory relationship and i am getting the following error : java.lang.IllegalArgumentException: Unable to map destination Schedule for relationship schedule in entity Attempt. To one relationships must be joined on the primary key of the destination.

There's something wrong in the model. Do you have something like the following?


entities Schedule <-->> Attempt... both entities have their own primary key of course (e.g., id) but Attempt has an additional foreign key: scheduleId. Is that what you have?

Then the Book's 'publisher' to One relationship joins on Schedule.id, Attempt.scheduleId.

with regards,
--

Lachlan Deck



_______________________________________________
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


References: 
 >Unable to map destination (From: Guilherme melo <email@hidden>)

  • Prev by Date: Unable to map destination
  • Next by Date: Re: Unable to map destination
  • Previous by thread: Unable to map destination
  • Next by thread: Re: Unable to map destination
  • Index(es):
    • Date
    • Thread