You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/09/28 20:46:00 UTC

[jira] [Updated] (NIFI-7503) PutSQL Shouldn't Commit When in AutoCommit Mode

     [ https://issues.apache.org/jira/browse/NIFI-7503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Burgess updated NIFI-7503:
-------------------------------
    Status: Patch Available  (was: In Progress)

> PutSQL Shouldn't Commit When in AutoCommit Mode
> -----------------------------------------------
>
>                 Key: NIFI-7503
>                 URL: https://issues.apache.org/jira/browse/NIFI-7503
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Shawn Weeks
>            Assignee: Matt Burgess
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)