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/01 23:54:03 UTC
[jira] [Created] (SQOOP-534) Add ability to find out if
MPersistableEntity do already have persistent ID
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
[jira] [Updated] (SQOOP-534) Add ability to find out if
MPersistableEntity do already have persistent ID
Posted by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org>.
[ 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