[ 
http://galaxy.andromda.org:8080/jira/browse/SPRING-49?page=comments#action_11174
 ]
     
Peter Friese commented on SPRING-49:
------------------------------------

Wouter, I think I didn't point out clearly what I meant, so I'll try again:

One way to search using wildcards is to use the "%" character. The hibernate 
doc states that this works with the criteria API as well. The other way is to 
work with the MatchMode.

So far, so good.

My question is: if you work with the matchmode, how do you let the user (I mean 
the user of your application, not the user of the cartridge!) decide which 
match mode he'd like to use. When we work with the "%" wildcard, this is easy, 
as the user can enter the search string just as he likes. When working with 
MatchMode, how can he express that he wants to search for a string containing 
the text "urg" at the end of the word?

> criteria parameter: tagged value MatchMode for strings
> ------------------------------------------------------
>
>          Key: SPRING-49
>          URL: http://galaxy.andromda.org:8080/jira/browse/SPRING-49
>      Project: Spring Cartridge
>         Type: Improvement
>     Versions: 3.0RC1
>     Reporter: Wouter Zoons
>     Assignee: Peter Friese

>
>
> you might already have something in mind for this, but this way I can keep 
> track of this particular feature
> I'm using the match mode in most of my criteria queries

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://galaxy.andromda.org:8080/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to