Thanks for reply - my issue was order of loading of WebObjects module - I put 
it first and all started to work


Sent from my Apple iPhone 7 plus

> On 21 May 2018, at 16:04, Robert Hanviriyapunt <roberth...@mac.com> wrote:
> 
> I just had the same issue a few weeks back.  I fixed it by making sure the 
> host is defined as the name defined on the machine.  I copied the name from 
> the output of:
> 
> uname -n
> 
> Hope this helps.
> 
> = Robert =
> 
> STILL LOVE WEBO!  AND WONDER!
> 
> // Don’t really projects.isActive qualifier, just here for WEBO/WONDER coding 
> example
> ERXAndQualifier qualifier = //
>       User.PROJECTS.dot( Project.IS_ACTIVE ).eq( true ) //
>       .and( User.CLUE.greaterThan( 0 ) );
> 
> // Don’t really need the sort, just here for WEBO/WONDER coding example
> ERXSortOrderings sortOrderings = //
>       User.FULL_NAME.asc() //
>       .then( User.USERNAME.asc() );
> 
> // Don’t really need to fetch the array, just here for WEBO/WONDER coding 
> example
> NSArray<User> users = User.fetchUsers( editingContext, qualifier, 
> sortOrderings );
> 
> System.out.println( users.count() );
> 
> Original SQL:
> 
> select count(*) from user where clue > 0;
 _______________________________________________
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to