Unable to map destination
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