[
https://issues.apache.org/jira/browse/CAY-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrus Adamchik updated CAY-1748:
---------------------------------
Description:
1. New method: IdCoder.getStringId(ObjectId id);
2. Support for temporary object id encode/decode ops in EntityIdCoder
These improvements will allow to reference objects with temp ids, and create
object references when only ObjectId is available, but not the object.
Just like before, temp IDs with attached replacement IDs are treated as
permanent ids during encoding.
was:
1. New method: IdCoder.getStringId(ObjectId id);
2. Support for temporary object id encode/decode ops in EntityIdCoder
These improvements will allow to reference objects with temp ids, and create
object references when only ObjectId is available, but not the object.
Note that a substantial change in the new behavior is that temp IDs with
attached replacement IDs are now encoded as regular temp IDs (losing
replacement ID after encode/decode cycle).
> IdCoder/EntityIdCoder improvements to work with ObjectIds, including temp ones
> ------------------------------------------------------------------------------
>
> Key: CAY-1748
> URL: https://issues.apache.org/jira/browse/CAY-1748
> Project: Cayenne
> Issue Type: Bug
> Components: Lifecycle Extensions
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Priority: Minor
> Fix For: 3.2M1
>
>
> 1. New method: IdCoder.getStringId(ObjectId id);
> 2. Support for temporary object id encode/decode ops in EntityIdCoder
> These improvements will allow to reference objects with temp ids, and create
> object references when only ObjectId is available, but not the object.
> Just like before, temp IDs with attached replacement IDs are treated as
> permanent ids during encoding.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira