Subject | Need help fixing BigDecimal mapping by JBoss to Firebird |
---|---|
Author | sibyltalk |
Post date | 2006-08-29T19:59:25Z |
I am using java.math.BigDecimal objects in several EJB 3 entity (POJO)
classes. By default, JBoss (4.0.4 GA) maps a BigDecimal to
numeric(19,2). But Firebird complains that the maximum precision is
18. I am not sure what the mapping ought to be, or what I need to
change within the JBoss files even if I knew the right mapping. Any
help will be appreciated.
classes. By default, JBoss (4.0.4 GA) maps a BigDecimal to
numeric(19,2). But Firebird complains that the maximum precision is
18. I am not sure what the mapping ought to be, or what I need to
change within the JBoss files even if I knew the right mapping. Any
help will be appreciated.