Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8226808

Documentation error in code sample of PreparedStatement

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b08

      Description

      A DESCRIPTION OF THE PROBLEM :
      The Javadoc of interface PreparedStatement contains sample code.
      In here the pstmt.setBigDecimal(1, 153833.00) is wrong.
      The value 153833.00 is of type double and cannot be converted to BigDecimal.



      FREQUENCY : always


        Attachments

          Activity

            People

            Assignee:
            lancea Lance Andersen
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: