Problem with many to many relation involving a abstract class
Problem with many to many relation involving a abstract class
- Subject: Problem with many to many relation involving a abstract class
- From: "Pierre Gilquin" <email@hidden>
- Date: Thu, 7 Apr 2005 18:17:10 +0200
Hi all,
I have the following model :
an horizontal inheritance structure with an abstract entity A (without
table) and 2 subclasses BA, CA. Entity Z has a tomany relationship to A.
I was able to create Z objects and assigned existing A's without problem.
When I want to access As from object Z, I have the problem :
java.lang.IllegalStateException: Server exception:
sqlStringForKeyValueQualifier
: attempt to generate SQL for com.webobjects.eocontrol.EOKeyValueQualifier
(_eofInv_LinkIndicationAProduit_abstractProduct.indication.id = 34776)
failed
because attribute identified by key
'_eofInv_LinkIndicationAProduit_abstractProduct.indication.id' was not
reachable from from entity 'Produit'
at
com.webobjects.eodistribution.client.EODistributedObjectStore._checkR
eturnValuesForExceptions(EODistributedObjectStore.java:565)
where AbstractProduct = A,Produit = BA,Indication = Z
and LinkIndicationAProduit is the many to many relation.
Thank you in advance for any help.
Pierre Gilquin
WO5.3
_______________________________________________
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