Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-928

PostgresqlManager should rollback any pending changes instead of commit when closing connections

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 1.4.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      Postgresql DB

      Description

      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.

        Attachments

        1. SQOOP-928.patch
          0.9 kB
          Venkat Ranganathan

          Activity

            People

            • Assignee:
              venkatnrangan Venkat Ranganathan
              Reporter:
              venkatnrangan Venkat Ranganathan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: