Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7503

PutSQL Shouldn't Commit When in AutoCommit Mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.13.0
    • Extensions
    • None

    Description

      PutSQL Commits even when autoCommit is true. Some drivers like RedShift raise an exception and the JDBC Spec allows for an exception here. Recommend we check to see if autoCommit is true before calling commit.

      https://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#commit()

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              Absolutesantaja Shawn Weeks
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m