Sqoop
  1. Sqoop
  2. SQOOP-534

Add ability to find out if MPersistableEntity do already have persistent ID

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.99.1
    • Component/s: None
    • Labels:
      None

      Description

      Current implementation of MPersistableEntity is using -1 to identify entities without persistent ID. There is couple of conditional statements checking ID for this magic constant. I believe that we should abstract this by providing method hasPersistenceId() or something similar.

      1. SQOOP-534.patch
        3 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          Bilung Lee added a comment -

          Patch is in. Thanks, Jarcec!

          Show
          Bilung Lee added a comment - Patch is in. Thanks, Jarcec!

            People

            • Assignee:
              Jarek Jarcec Cecho
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development