Win a copy of Java 9 Revealed this week in the Features new in 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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!