• 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: Large to-many relationships and caching "Best Practise"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Large to-many relationships and caching "Best Practise"


  • Subject: Re: Large to-many relationships and caching "Best Practise"
  • From: Michael Halliday <email@hidden>
  • Date: Fri, 14 Aug 2009 09:12:41 -0400

Interesting ... thanks Mike!  I'll take a look!

Cheers,
Michael.

On 12-Aug-09, at 10:25 AM, Mike Schrag wrote:

This is pretty much exactly what I do as well. Just didn't know if there was a "better way" of doing this and managing the cache.
Depending on how you're using these things:

http://webobjects.mdimension.com/wonder/api/er/extensions/eof/ERXEnterpriseObjectCache.html#ERXEnterpriseObjectCache(java.lang.String, java.lang.String, com.webobjects.eocontrol.EOQualifier, long, boolean, boolean, boolean)

This automatically stays up-to-date as the object graph changes. I've only used this for app-global caches, but you should be able to use it per-instance if you really wanted to. Certainly if you're going to try to keep your custom cache up-to-date, you might as well use it.

ms

_______________________________________________
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: 
 >Large to-many relationships and caching "Best Practise" (From: Michael Halliday <email@hidden>)
 >Re: Large to-many relationships and caching "Best Practise" (From: David Avendasora <email@hidden>)
 >Re: Large to-many relationships and caching "Best Practise" (From: Michael Halliday <email@hidden>)
 >Re: Large to-many relationships and caching "Best Practise" (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Component Question
  • Next by Date: Setting environment variables
  • Previous by thread: Re: Large to-many relationships and caching "Best Practise"
  • Next by thread: inline bindings and ognl
  • Index(es):
    • Date
    • Thread