• 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
setting up one-to-many relation for LDAP, result in Exception when fetching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting up one-to-many relation for LDAP, result in Exception when fetching


  • Subject: setting up one-to-many relation for LDAP, result in Exception when fetching
  • From: Gustavo Adolfo Pizano <email@hidden>
  • Date: Mon, 11 May 2009 10:38:48 +0200

Hello again, and sorry for disturbing so much, but this topic is giving me a headache due that is first time I work with LDAP and not an WO/EOF expert.

I have two Entity (reversed engineered form the LDAP server) called XWSContactsGroup and XWSContact.

XWSContactgroup can have more XWSContactsGroup ObjClass inside and XWSContact also. so it will look like.

-XWS (root)
-Contacts (XWSContactsGroup)

-Apple.(XWSContactsGroup)
-Gustavo Pizano

-XWS(XWSContactsGroup)
-Veronica Pizano
-Carolina Pizano

-PhotoCenter(XWSContactsGroup)
-Gilbert Pizano
etc.

When I try to set the relations in EOModeler, I just did it as I normally did with a SQL server, it palced a FK called XWSContactsGroupID and  the respectively  relationships.

When I do the fetch of one XWSContactsGroup, let say i.e , and I try to get what it has inside, in this case more XWSContactsGroup, I get hte following exception. :
com.webobjects.jndiadaptor.JNDIAdaptorException: Cannot get type with name relativeDistinguishedName for attribute xWSContactsGroupID

I checked, and it seems weird to me that, of course  the relativeDistinguishedName att (pk) will never be the same, so how can I set up the relationship and against what, to make it work properly?, or should I connect directly to the server avoiding the EOF?

 
Thanks again, 

Gustavo Pizano
 _______________________________________________
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: setting up one-to-many relation for LDAP, result in Exception when fetching
      • From: David Avendasora <email@hidden>
  • Prev by Date: Re: Using Jmeter to test WO
  • Next by Date: Re: setting up one-to-many relation for LDAP, result in Exception when fetching
  • Previous by thread: Fetching on a LDAP server
  • Next by thread: Re: setting up one-to-many relation for LDAP, result in Exception when fetching
  • Index(es):
    • Date
    • Thread