[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JPA entity mapping to DB2

mitabhushan do-not-reply at jboss.com
Fri Sep 19 11:12:41 EDT 2008


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!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177702#4177702

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177702



More information about the jboss-user mailing list