Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPA entity mapping to DB2

 
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