Hi guys.
Can you suggest how make Regex query using Interface with 'IgnoreCase' ?
I have working code:
but code likeCode:Query query = Query.query(Criteria.where("fieldName").regex(fieldValue, "i"));
doesn't work as I understand. I don't get correct result as with : Criteria.where("fieldName").regex(....Code:public List<SomeType> findByFieldNameRegexIgnoreCase(String fielValue); - Created query Query: { "fieldName" : { "$regex" : "rolley"}}, Fields: null, Sort: null
Should I do 'custom implementation' in such case?


Reply With Quote
