It should be very easy to create such utility on your own based on
ExpressionFactory.matchAllExp and ExpressionFactory.matchAnyExp
Andrus
On Mar 9, 2006, at 12:11 PM, Tobias SCHOESSLER wrote:
>
> Hello,
>
> I wondered if there is a way to generate an Expression based on
> partially
> set values of a DataObject.
>
> Motivation: Many 4GL tools provide forms for searching the database by
> "reusing" the input form. The user fills in some values and the system
> retrieves all entries matching those given values.
>
> I think this could be a quick way to prototype complex search
> forms. For
> Cayenne I would imagine creating a transient DataObject Net without
> registering them in the DataContext. Setting some values, generate an
> Expression based on the given values and run it against the database
> retrieving 'real' DataObjects matching the value set.
>
> Anything there that accomplishes this?
>
> thanks
> Tobias.
> ______________________________________
> Tobias Schoessler, Java Developer
> Information Management Unit
> Information Technology Service
> United Nations Office on Drugs and Crime
>
> Tel: (+43-1) 26060-5173
> Websites: www.unov.org, www.unodc.org
> ______________________________________
> Impossible is not a fact, only an opinion
>
>
This archive was generated by hypermail 2.0.0 : Thu Mar 09 2006 - 05:44:21 EST