You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2012/08/02 01:13:04 UTC

[jira] [Updated] (SQOOP-534) Add ability to find out if MPersistableEntity do already have persistent ID

     [ https://issues.apache.org/jira/browse/SQOOP-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Jarcec Cecho updated SQOOP-534:
-------------------------------------

    Attachment: SQOOP-534.patch
    
> 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
>
>         Attachments: SQOOP-534.patch
>
>
> 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