| Subject | JBoss EJB 3 Persistence: BigDecimal mapping to Firebird | 
|---|---|
| Author | sibyltalk | 
| Post date | 2006-08-29T01:21:01Z | 
I am using java.math.BigDecimal objects in several EJB 3 entity (POJO)
classes. By default, JBoss 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.
K/H
            classes. By default, JBoss 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.
K/H