I have a seam application with JPA entity mapping to DB2
When I map DB2 Numeric(8,0) to java.math.BigDecimal it works fine
but mapping Numeric(5,0) to java.math.BigDecimal fails
I tried mapping Numeric(5,0) to java.math.BigInteger, Integer, int, double, float, int, short
nothing works!
any Ideas!
Post the entire exception stacktrace. Which version of JBoss and Java do you use?