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

Statement -> executeBatch method throws an NPE

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Done
    • 8.7.3
    • 8.11
    • None
    • None
    • 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.

      Attachments

        1. server.log
          17 kB
          Juraj Duráni

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            jdurani Juraj Duráni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: