-
Feb 16th, 2006, 05:39 AM
#1
case insensitive search
Hi,
I have an Object of class ContentObjectModel, which has one property named "name".now i want to search records which has named abc or ABC or aBC or ABc. So how can i search can ignorenocase search in dao?
following is my dao code:
public ArrayList<ContentObjectModel> find(ContentObjectModel contentObjectModel) {
List list = getHibernateTemplate().findByExample(contentObject Model);
if(list != null)
return (ArrayList<ContentObjectModel>) list;
return null;
}
-
Feb 16th, 2006, 05:56 AM
#2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules