Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1859

No error thrown for an EOD query when allColumnsMapped=true but the data type of the field does not match the column in the query.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 10.2.1.6, 10.3.1.4
    • None
    • JDBC
    • None
    • Java(TM) SE Runtime Environment (build 1.6.0-rc-b98)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b98, mixed mode)

    Description

      With a column of type DECIMAL called BALANCE the BaseQuery object maps the column into a field in the data class of type 'public String balance' but does not populate it.

      Changing the field to 'public BigDecimal balance' correctly populates it.

      Changing the field to a name of Xbalance, correctly throws the error that not all columns are mapped.

      Attachments

        Activity

          People

            Unassigned Unassigned
            djd Daniel John Debrunner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: