• 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: override qualifier from EOModel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: override qualifier from EOModel


  • Subject: Re: override qualifier from EOModel
  • From: Kieran Kelleher <email@hidden>
  • Date: Wed, 10 Apr 2013 10:03:28 -0400

Possible idea for a solution if you don't want to modify your existing working code and if having a separate app instance for auto cleanup is feasible:

- Add a "isAutoCleanupInstance" property that if true, results in the EOModel being dynamically modified on startup to remove the EOModel qualifier
- If the property is true, a timer for periodically running the auto cleanup task is established at startup
- If the property is true, only SysAdmin can log in to this auto cleanup instance (prevent accidental login by normal users and them seeing invisible EOs)
- Create a new AutoCleanup Application in WOMonitor that points to the same app executable
- Set the isAutoCleanupInstance property to true in the WOMonitor config for the AutoCleanup application

YMMV, Kieran

On Apr 10, 2013, at 8:39 AM, George Domurot <email@hidden> wrote:

I've never used an entity based qualifier (I didn't even know that was possible).

Try using EOUtilities.objectWithPrimaryKeyValue with the entity name and primary key. If that doesn't work,  then I'd assume your crafty entity level qualifier is overriding all fetching.

-G

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: 
 >override qualifier from EOModel (From: Markus Ruggiero <email@hidden>)
 >Re: override qualifier from EOModel (From: George Domurot <email@hidden>)

  • Prev by Date: Re: override qualifier from EOModel
  • Next by Date: Re: override qualifier from EOModel
  • Previous by thread: Re: override qualifier from EOModel
  • Next by thread: Re: override qualifier from EOModel
  • Index(es):
    • Date
    • Thread