• 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
EO models referring to different prototypes in the same application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EO models referring to different prototypes in the same application


  • Subject: EO models referring to different prototypes in the same application
  • From: Paul Hoadley <email@hidden>
  • Date: Mon, 14 Jul 2008 19:17:14 +0930

Hello,

I'm using WO 5.4.1.  I have a Wonder application with its own small EO model.  Naturally I'm using ERPrototypes for this.  Meanwhile, I have factored out a couple of models from an older, non-Wonder application into their own framework.  These models use different prototypes, which I have factored out into another framework---these are just some prototypes I created myself.

During application start-up, the inevitable happens:

Jul 14 18:52:56 RM[54321] (ERXModelGroup.java:109) WARN  er.extensions.ERXModelGroup  - Clearing previous class descriptions
Jul 14 18:52:56 RM[54321] (ERXModelGroup.java:778) WARN  er.extensions.ERXModelGroup  - The EOModel 'erprototypes' does not have a connection dictionary, providing an empty one
Jul 14 18:52:57 RM[54321] (ERXModelGroup.java:228) WARN  er.extensions.ERXModelGroup  - The model 'Prototypes' (path: file:/Users/paulh/Projects/WebObjects/Eclipse/LSWOPrototypes/build/LSWOPrototypes.framework/Resources/Prototypes.eomodeld) has an entity name conflict with the entities ("EOJDBCPrototypes") already in the model group <EOModelGroup ( ( Recipient,
file:/Users/paulh/Projects/WebObjects/Eclipse/RM/build/RM.woa/Contents/Resources/Recipient.eomodeld ),
( erprototypes,
file:/Library/Frameworks/ERPrototypes.framework/Resources/erprototypes.eomodeld ) )>

Assume that I _can't_ re-write the old models against ERPrototypes (I probably could, but that's a bridge I'd rather cross later).  Is it possible to (perhaps programmatically) declare prototypes model-by-model?  That is, can I tell EOF to use ERPrototypes for the model in the Wonder application, and my own prototypes for the models in the older, non-Wonder framework?

(I have read the "Changing Prototypes in Code" section in Practical WebObjects, but, unless I'm mistaken, that's providing a strategy for changing entirely from one set of prototypes to another.)


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


 _______________________________________________
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: EO models referring to different prototypes in the same application
      • From: Paul Hoadley <email@hidden>
  • Prev by Date: Re: Subclasses of a component that do not have the .wo file
  • Next by Date: Re: EO models referring to different prototypes in the same application
  • Previous by thread: Re: WOLips modeler Attribute prefix???
  • Next by thread: Re: EO models referring to different prototypes in the same application
  • Index(es):
    • Date
    • Thread