Caching reference data
Caching reference data
- Subject: Caching reference data
- From: Jason McInnes <email@hidden>
- Date: Sun, 17 Oct 2004 09:57:56 -0700 (PDT)
I've got a requirements issue...challenge...that
involves caching.
I've gone 10 or 11 reference types in my model. I have
a requirement that I need to track the last user to
update reference types. What I did originally is I
added relationships between these reference types and
my user entity (add user, update user). Actually,
almost all of my entities inherit from a core entity
that has these relationships.
The problem now is that I was fetching these reference
types into the shared editing context like a good boy,
but like a bad boy, they have relationships to
non-shared entities (i.e., the users). So when I
create an object, log out, and log back in I get a
shared entity context violation error.
I want the benefit of caching these reference types
without the overhead of having to do the
localInstanceOfObject step storing them in arrays on
my Application object, and I'd like to not have to
change my model (e.g., storing just the user name on
reference types rather than a relationship to user).
Am I out of luck?
=====
Jason McInnes
2 Degrees
Cell: 206.849.3680
Email: email@hidden
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
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