Re: EOF Caching / performance question
Re: EOF Caching / performance question
- Subject: Re: EOF Caching / performance question
- From: Jacky Gagnon <email@hidden>
- Date: Wed, 8 Mar 2006 11:48:33 -0500
On 06-03-08, at 11:33, Guido Neitzer wrote:
On 08.03.2006, at 17:14 Uhr, Chuck Hill wrote:
No, they don't get cached. And the data is fetched again if you
try and turn them into EOs.
Okay. I see.
Assuming your page just fetches what it needs to display and does
not display a large amount of data, why use raw rows at all?
Because some of the EOs are not really "lightweight" and all that
is needed to display the page is one String attribute (the name for
the navigation item) and the id.
Why you don't simply disable the visibility of attributes that you
don't need to display? You can do that in your EOModel or in your
code. Another solution is to create a lightweight version of your
Entity in the EOModel and another one for fetching the other
attributes when you need it.
Jacky
_______________________________________________
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