[ 
https://issues.apache.org/jira/browse/FLINK-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321635#comment-17321635
 ] 

Flink Jira Bot commented on FLINK-7605:
---------------------------------------

This issue and all of its Sub-Tasks have not been updated for 180 days. So, it 
has been labeled "stale-minor". If you are still affected by this bug or are 
still interested in this issue, please give an update and remove the label. In 
7 days the issue will be closed automatically.

> JDBCOutputFormat autoCommit
> ---------------------------
>
>                 Key: FLINK-7605
>                 URL: https://issues.apache.org/jira/browse/FLINK-7605
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / JDBC
>    Affects Versions: 1.3.2
>            Reporter: Flavio Pompermaier
>            Assignee: vinoyang
>            Priority: Minor
>              Labels: stale-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, i.e.:
> {code:java}
> if (!conn.getAutoCommit()) {
>   conn.setAutoCommit(true);
> }
> {code}
> This should be well documented also..



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

Reply via email to