I'm using JBOSS 3.0 and I have an Entity with a BigDecimal attribute.
I have no problem with its persistence, but when I use a finder with an equal codition on it using a BigDecimal parameter JBoss throws a FinderException.
The CONDITION is
*******************
WHERE st.numeroCivico = ?1
*********************
st is an alias of my entity and numeroCivico its BigDecimal attribute.
The first parameter in the finder is a BigDecimal.
Can you help me??
EJB-QL does not allow the comparison of BigDecimal numbers. Use JBossQL instead.