Hi all,

this time I have a question related to the usage of CQLK filter 
constructs. I have noticed that when using a simple filter like 
"Attribute < 5", the compareTo method of String is used. This will also 
evaluate numbers like 10, 100, or 1000 to evaluate to true in the 
IsLessThanImpl filter.

The constructed IsLessThanImpl filter actually looks correct in the 
debugger, using a Long binding for the literal value. The binding for 
the attribute against which I filter is also Long, so I do not 
understand what goes wrong.

Any ideas?

Kind regards,

Thorsten

-- 
Thorsten Reitz

Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
[email protected]  |  www.igd.fraunhofer.de

------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to