EOIndex
EOIndex
- Subject: EOIndex
- From: Mike Schrag <email@hidden>
- Date: Wed, 29 Jun 2005 22:39:25 -0400
I've been looking for a way to speed up non-primary-key unique key
lookups on EO's (which one of my apps has to do a lot of). I wrote
up a class that is essentially a unique-value-to-EOGlobalID map that
stays up-to-date based on EOObjectStore change notifications. I've
not done much programming that uses these lower level EO API's
before, though, so for anyone that is interested in such a beast, I'm
posting the code in hopes that people can point out if I'm doing
something totally loopy. It gives me a huge performance increase
over my previous code (the previous version would fetch by unique
attribute name) and it does at least appear to work for me so far.
http://www.mdimension.com/Software/EOIndex.java
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