sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (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 10:15:13 GMT

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

Hudson commented on SQOOP-928:
------------------------------

Integrated in Sqoop-ant-jdk-1.6-hadoop20 #579 (See [https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/579/])
    SQOOP-928: PostgresqlManager should rollback any pending changes instead of commit when
closing connections (Revision 34bdf07bc847a727a9508fd0ed071635d644721e)

     Result = SUCCESS
jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=34bdf07bc847a727a9508fd0ed071635d644721e
Files : 
* src/java/org/apache/sqoop/manager/PostgresqlManager.java

                
> 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