cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <>
Subject Re: FIQL query validation
Date Mon, 02 Nov 2015 21:20:10 GMT

Given that a bean properties map is provided by a user, can you register 
a map with a case-insensitive key checks (TreeMap using a String case 
insensitive comparator) ?

Cheers, Sergey
On 02/11/15 12:57, Diether wrote:
> Using aliasses is indeed something I've already did.
> Also posted a long time ago about that as well:
> As a result of them I'm now creating beanpropertiesmaps dynamically (based
> on reflection), and store the exact property and a lowercase variation
> property in it.
> So if the property on my bean would be 'supplierCode'
> So then both 'supplierCode' and 'suppliercode' will work. 'supplierCOde'
> will still fail though.
> I was now thinking of recursively iterate over
> condition.getSearchConditions() and modify each 'property' of each statement
> to be lowercase.
> But seems like that's not possible since there are no 'set' methods
> available for both 'statement' and 'property'.
> I assume recreating an entire new SearchCondition (perhaps using the
> builder) based on that entered the system could also be possible, but it
> seems a bit overkill and too complex to do.
> So perhaps I'll just have live with it, and try to handle both error
> scenarios similarly.
> --
> View this message in context:
> Sent from the cxf-user mailing list archive at

Sergey Beryozkin

Talend Community Coders

View raw message