I`m doing a report and I have to print all of the data starting from a given value, passed as parameter. For example, I want print a relation of all of products that the availability is at least x, that is, I will print the products that have stock f x and x+. My related parameter and field are BigDecimal, I didn`t get trying this way:
($P{cenaOd} != null ?$F{lacznyStan}.equals($P{cenaOd}): true )
It appears the following error: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
Can someone help me?