sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-928) PostgresqlManager should rollback any pending changes instead of commit when closing connections
Date Tue, 05 Mar 2013 03:13:12 GMT

    [ 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

Mime
View raw message