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.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 10.2.1.6, 10.3.1.4
    • Fix Version/s: None
    • Component/s: JDBC
    • Labels:
      None
    • Environment:
      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.

        Activity

        Hide
        Daniel John Debrunner added a comment -

        EoD is being dropped from JDBC 4.

        Show
        Daniel John Debrunner added a comment - EoD is being dropped from JDBC 4.

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel John Debrunner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development