Re: most efficient way to fetch GIDs?

2025-07-15 Thread Ondra Cada via Webobjects-dev
Thanks a lot! I should get thousands EOs very rarely, mostly just hundreds; thus I did create the fetch specification with ERXInQualifier.newInstance('uid', pks as NSArray), and then use plain ec.objectsWithFetchSpecification(fs) to fetch. It works nicely, but there's one weird drawback — for j

ERXOptGroupPopupButton vs List?

2025-08-03 Thread Ondra Cada via Webobjects-dev
Hi there, whatever I try, it looks like ERXOptGroupPopupButton does not support lists like other list bindings do, and insists on an NSArray instead, yielding for other lists java.util.ArrayList cannot be cast to com.webobjects.foundation.NSArray (ClassCastException) Is this a Wonder-side bug

multi-instance best practices?

2025-07-30 Thread Ondra Cada via Webobjects-dev
Hi there, about ten years ago we have tried multi-instance (with legacy code originally written ages ago even for non-concurrent R/Rs, ouch), and got into such a big mess and problems with synchronisation and optimistic locking etc., that we eventually retreated to single-instance, and sticked