site_archiver@lists.apple.com Delivered-To: webobjects-dev@lists.apple.com Am 01.02.2005 um 20:10 schrieb Chuck Hill: Cheers, Anjo _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/site_archiver%40lists.... Here are some other counting implementation that I have gleaned from the list. Perhaps they are of interest? Instead of adding an attribute to the model, it'd be better to get the expression factory, create the statement with the FS, remove the stuff until the " FROM " and add a "SELECT count(*) " in it's stead. Then execute it and fetch the row count. Threadsave and still model-compliant. Adding the attribute at runtime just can't be made thread-save (locking the OSC won't help, because eg. D2W just accesses model data and doesn't fetch) This email sent to site_archiver@lists.apple.com
participants (1)
-
Anjo Krank