[RomaFramework-dev] [ romaframework-Feature Requests-1499861 ] Tuning for queryByExample
Brought to you by:
lvca
|
From: SourceForge.net <no...@so...> - 2006-07-05 17:04:39
|
Feature Requests item #1499861, was opened at 2006-06-03 01:11 Message generated for change (Comment added) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1499861&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: JDO-JPOX-PersistenceAspect Group: None >Status: Closed Priority: 5 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Tuning for queryByExample Initial Comment: We need a finer control on the powerful but simple query-by-example pattern. Now an invisible field doesn't partecipate in filter. We need sometinghs like this: <field name"status"> <aspects> <persistence queryEnvolve="or" queryOperator="like" /> </aspects> </field> Where: - queryEnvolve specify how it's envolved in query. Specifiying something will be forced also in case the field is invisible. Values can be: OR/AND/etc. - queryOperator specifyies the operator used: =/!=/</>/LIKE/etc. ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:04 Message: Logged In: YES user_id=75115 Resolved by using QueryByFilter pattern (and class). See the how-to. ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:04 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-06-20 00:33 Message: Logged In: YES user_id=75115 Partially implemented by programmatic APIs (QueryFilter and QueryFilterItem). Now it's missed just the XML description AND annotations, of course ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1499861&group_id=162641 |