• 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
modeling problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

modeling problem


  • Subject: modeling problem
  • From: TW <email@hidden>
  • Date: Sun, 29 Mar 2009 16:48:27 -0700

All:

I have a model of our ldap directory with InetOrgPerson the base "user" entity. I've made InetOrgPerson abstract with it's table inetOrgPerson. I have the framework project containing that model in the build path of another that I'm using as a "generic user" framework.

In that second framework I have another model with a "GenericUser" entity. That entity has "InetOrgPerson" as it's parent. I've added this second framework to my app build path.

- in Entity Modeler if I set the table for "GenericUser" to "inetOrgPerson" (the same as it's parent), my app fetches 2 identical GenericUser EO's for each 1 matching record in LDAP

- if I change the table for "GenericUser to "GenericUser" it works as expected. However, there is no such "table" or object in my LDAP directory. And I'm concerned that with that setup attempts to write to the directory would fail.

The first way seems that it should be the proper way to do it but I don't understand why I'm getting two EO's for each record. Can someone point me to what I'm being dumb about?

Tim
UCLA GSE&IS
_______________________________________________
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: modeling problem
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: How does concurrency control work in WO?
  • Next by Date: [OT] Hotels for WOWODC/WWDC
  • Previous by thread: Re: Undo manager and AJAX
  • Next by thread: Re: modeling problem
  • Index(es):
    • Date
    • Thread