[
https://issues.apache.org/jira/browse/SQOOP-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592996#comment-13592996
]
Jarek Jarcec Cecho commented on SQOOP-928:
------------------------------------------
It's quite simple patch, so I'm giving my +1 here.
> PostgresqlManager should rollback any pending changes instead of commit when
> closing connections
> ------------------------------------------------------------------------------------------------
>
> Key: SQOOP-928
> URL: https://issues.apache.org/jira/browse/SQOOP-928
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.4.2
> Environment: Postgresql DB
> Reporter: Venkat Ranganathan
> Assignee: Venkat Ranganathan
> Priority: Minor
> Fix For: 1.4.4
>
> Attachments: SQOOP-928.patch
>
>
> While closing the connection acquired with getConnection, Postgresql Manager
> implementation commits any pending changes instead of rolling back.
> If autocommit is off, then the "users" of the connection should commit any
> persistent changes and not depend on close() calling commit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira