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

Unable to map destination


  • Subject: Unable to map destination
  • From: Guilherme melo <email@hidden>
  • Date: Mon, 07 May 2007 18:43:55 -0300

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.

I googled about it and got the following answer  :
"Note: For to-one relationships, Enterprise Objects Framework doesn't support primary key to foreign key joins. The destination join attribute in a to-one relationship must be the destination entity's primary key. If you want To One relationship in both directions, you may want to consider a mandatory To One and Propagate Primary Key."

but I propagated the primary key and still got the same error , anyone had any problems like this before ?

thx in advance

-


\o/ Guilherme Melo , Moleque de Idéias Educação e Tecnologia Ltda
 |  Phone: 55-21-2710-0178 E-mail: email@hidden
/ \ http://www.moleque.com.br
 _______________________________________________
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: Unable to map destination
      • From: Robert Walker <email@hidden>
    • Re: Unable to map destination
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: Re: user obstacles to WOLips adoption (was: Apple's Support of WebObjects)
  • Next by Date: Re: Unable to map destination
  • Previous by thread: Re: Adding/Removing objects to/from toMany relationships.
  • Next by thread: Re: Unable to map destination
  • Index(es):
    • Date
    • Thread