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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.99.1
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: