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

setByte() with executeBatch causes hang with client if mapping is invalid, e.g. setByte to DATE

    XMLWordPrintableJSON

Details

    Description

      setByte() followed by an addBatch() and then an executeBatch causes a hang.
      May apply to any setXXX call that will result in any invalid conversion, possibly only those conversions handled by the client.

      See the test jdbcapi/parameterMapping, look for this bug number in the code, to see the cases disabled when running with the client.

      Attachments

        1. derby-349-diff-with-jdk16.txt
          356 kB
          Bryan Pendleton
        2. derby-349-stat-with-jdk16.txt
          0.4 kB
          Bryan Pendleton
        3. derby-349-testFixes.diff
          181 kB
          Bryan Pendleton
        4. jdk16-master.diff
          84 kB
          Knut Anders Hatlen

        Activity

          People

            bryanpendleton Bryan Pendleton
            djd Daniel John Debrunner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: