• 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: Multiple EOModels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple EOModels


  • Subject: Re: Multiple EOModels
  • From: "Tonny Staunsbrink" <email@hidden>
  • Date: Thu, 27 Mar 2008 18:02:58 +0100


I have two apps that have two distinct EOModels.  I now need to link
these two apps so that they have access to each other's data, so I was
going to add both models to each app and recompile.

However, it transpires that both models have a couple of entity names
in common.  I can understand why this would cause a problem, what I
need to know is if there is a way around this without having to
completely rename the entities in one of the models.
I think you have to use a prefix or similar mechanism. Like DDUser, DDGroups, FFUser, etc... This should only be needed on the entity names, we usually organize the java classes in packages instead of using prefixes in java names. 

The other strange thing is that it tells me there is a name conflict
between the EOPrototypes entity in each model, but I don't think there
is any other way to name this entity, correct?

The prototypes should probably be factored in to a 3rd model. 
Cheers
Tonny

Kind regards,
David.

 _______________________________________________
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

 _______________________________________________
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

References: 
 >Multiple EOModels (From: David Griffith <email@hidden>)

  • Prev by Date: Re: Multiple EOModels
  • Next by Date: Re: Multiple EOModels
  • Previous by thread: Re: Multiple EOModels
  • Next by thread: Re: Multiple EOModels
  • Index(es):
    • Date
    • Thread