Jarek Jarcec Cecho created SQOOP-534:
----------------------------------------

             Summary: Add ability to find out if MPersistableEntity do already 
have persistent ID 
                 Key: SQOOP-534
                 URL: https://issues.apache.org/jira/browse/SQOOP-534
             Project: Sqoop
          Issue Type: Improvement
            Reporter: Jarek Jarcec Cecho
            Assignee: Jarek Jarcec Cecho
            Priority: Minor
             Fix For: 2.0.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to