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 |