Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3523

Statement -> executeBatch method throws an NPE

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 8.7.3
    • Fix Version/s: 8.11
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Statement s = con.createStatement();
      s.addBatch("UPDATE BQT.SmallA SET BigDecimalValue = 10.0 WHERE IntNum = 1");
      s.addBatch("UPDATE BQT.SmallA SET BigDecimalValue = 20.0 WHERE IntNum = 2");
      s.addBatch("UPDATE BQT.SmallA SET BigDecimalValue = 30.0 WHERE IntKey > 4");
      s.addBatch("UPDATE BQT.SmallA SET BigDecimalValue = 40.0 WHERE IntKey < 2");
      int[] updCount = s.executeBatch();

      Show
      Statement s = con.createStatement(); s.addBatch("UPDATE BQT.SmallA SET BigDecimalValue = 10.0 WHERE IntNum = 1"); s.addBatch("UPDATE BQT.SmallA SET BigDecimalValue = 20.0 WHERE IntNum = 2"); s.addBatch("UPDATE BQT.SmallA SET BigDecimalValue = 30.0 WHERE IntKey > 4"); s.addBatch("UPDATE BQT.SmallA SET BigDecimalValue = 40.0 WHERE IntKey < 2"); int[] updCount = s.executeBatch();

      Description

      The method executeBatch() of class Statement throws an NPE. Please see the log in the attachment.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shawkins Steven Hawkins
                Reporter:
                jdurani Juraj Duráni
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: