1 Reply Latest reply on Jan 12, 2002 4:52 AM by fbiaggi

    BigDecimal in MySQL

      Does anyone have a mapping that works successfully for BigDecimal in MySQL? I note that there's no mapping in the default jaws.xml. Does this mean that BigDecimal cannot be used?

        • 1. Re: BigDecimal in MySQL
          fbiaggi

          Hi,

          <cmp-field>
          <field-name>had010</field-name>
          <column-name>had010</column-name>
          <sql-type>DECIMAL(9,0)</sql-type>
          <jdbc-type>DECIMAL</jdbc-type>
          </cmp-field>


          The Java field is defined as java.math.BigDecimal.

          Just a problem, finders seem do not work...., if needed convert it to an integer or double.

          Ciao.