Garrett Smith wrote:
I was surprised to see that object looked by alt ID results in a
query for each lookup. Objects read via get (primary key) are cached.
Has there been any discussion about fixing this?

alternateID columns aren't immutable like primary key columns are, which
is why the lookup isn't cached.  I think any caching of alternateIDs
needs to be explicitly enabled in the column definition.

--
Ian Bicking  |  [EMAIL PROTECTED]  |  http://blog.ianbicking.org


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to