• 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
Problem with many to many relation involving a abstract class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problem with many to many relation involving a abstract class
      • From: James Cicenia <email@hidden>
  • Prev by Date: Re: Qualifiers LIKE problem
  • Next by Date: Re: Qualifiers LIKE problem
  • Previous by thread: Re: Qualifiers LIKE problem
  • Next by thread: Re: Problem with many to many relation involving a abstract class
  • Index(es):
    • Date
    • Thread