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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: