1 Reply Latest reply on Jan 3, 2002 5:45 PM by woodspeaker

    Problem reading BigInteger

    cisbrh

      Hello,
      i have a CMP bean with BigInteger attribute, however when I try to read the value I get the following:

      [JAWS] Got a java.math.BigDecimal: '15' while looking for a java.math.BigInteger

      The DB is Oracle8i, what should the datatype be ?
      Thank you,
      Benjamin

        • 1. Re: Problem reading BigInteger
          woodspeaker

          I believe you need to use BigDecimal. I had ( as did others I spoke with ) similar problems early on using BigInteger and switched to BD. The datatype is different, but the behavior is the same.