Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA entity mapping to DB2  RSS feed

 
Mita Bhushan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Posted: Fri Sep 19, 2008 11:12 AM Post subject: JPA entity mapping to DB2

--------------------------------------------------------------------------------

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 Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!