flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Flavio Pompermaier (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-7605) JDBCOutputFormat autoCommit
Date Fri, 08 Sep 2017 12:04:00 GMT
Flavio Pompermaier created FLINK-7605:

             Summary: JDBCOutputFormat autoCommit
                 Key: FLINK-7605
                 URL: https://issues.apache.org/jira/browse/FLINK-7605
             Project: Flink
          Issue Type: Improvement
          Components: Batch Connectors and Input/Output Formats
    Affects Versions: 1.3.2
            Reporter: Flavio Pompermaier
            Priority: Minor

Currently, if a connection is not created with autoCommit = true by default (e.g. Apache Phoenix),
no data is written into the database.

So, in the JDBCOutputFormat.open() autoCommit should be forced on the created Connection,

if (!conn.getAutoCommit()) {

This should be well documented also..

This message was sent by Atlassian JIRA

View raw message