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

Re: Problem with many to many relation involving a abstract class


  • Subject: Re: Problem with many to many relation involving a abstract class
  • From: James Cicenia <email@hidden>
  • Date: Thu, 7 Apr 2005 11:30:23 -0500

Hello -

I could be wrong, but making the relationship to an abstract entity might not
be possible. I would trying the relationships to BA and CA instead.


HTH
-James

On Apr 7, 2005, at 11:17 AM, Pierre Gilquin wrote:

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:
email@hidden


This email sent to email@hidden


_______________________________________________ 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: Florijan Stamenkovic <email@hidden>
References: 
 >Problem with many to many relation involving a abstract class (From: "Pierre Gilquin" <email@hidden>)

  • Prev by Date: iTunes-like EOQualifier building WOComponent
  • Next by Date: Re: Problem with many to many relation involving a abstract class
  • Previous by thread: Problem with many to many relation involving a abstract class
  • Next by thread: Re: Problem with many to many relation involving a abstract class
  • Index(es):
    • Date
    • Thread