You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2012/10/19 11:10:13 UTC

[jira] [Created] (CAY-1748) IdCoder/EntityIdCoder improvements to work with ObjectIds, including temp ones

Andrus Adamchik created CAY-1748:
------------------------------------

             Summary: 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 ids 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.

--
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

[jira] [Updated] (CAY-1748) IdCoder/EntityIdCoder improvements to work with ObjectIds, including temp ones

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ 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.

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).

  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.

    
> 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.
> 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).

--
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

[jira] [Updated] (CAY-1748) IdCoder/EntityIdCoder improvements to work with ObjectIds, including temp ones

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Updated] (CAY-1748) IdCoder/EntityIdCoder improvements to work with ObjectIds, including temp ones

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ 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.

  was:
1. New method: IdCoder.getStringId(ObjectId id);
2. Support for temporary object ids 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.

    
> 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.

--
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

[jira] [Closed] (CAY-1748) IdCoder/EntityIdCoder improvements to work with ObjectIds, including temp ones

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1748.
--------------------------------

    Resolution: Fixed
    
> 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