Hi all,

The following works as expected:

                ItemQuery<ArrayDesign> affyQuery = ArrayDesign.getQuery();
                affyQuery.include(Include.SHARED);
                affyQuery.restrict(
                        Restrictions.eq(Hql.property("affyChip"),
                                                                                
        Expressions.integer(1)
                                )
                        );

but I'm a bit puzzled why there is no "Expressions.boolean(true)" in the API.

Not urgent!

cheers,
Bob.

-- 
Bob MacCallum | VectorBase Developer | Kafatos/Christophides Groups |
Division of Cell and Molecular Biology | Imperial College London |
Phone +442075941945 | Email [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
basedb-devel mailing list
basedb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/basedb-devel

Reply via email to