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 (Closed) (JIRA)" <ji...@apache.org> on 2011/11/13 14:51:51 UTC
[jira] [Closed] (CAY-1639) cayenne-lifecycle: don't call String
representation of ObjectId a UUID
[ https://issues.apache.org/jira/browse/CAY-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1639.
--------------------------------
Resolution: Fixed
We went with "string id" or "object id" depending on the use context. The resulting refactoring has a bit wider scope than just renaming the classes. Specifically org.apache.cayenne.lifecycle.uuid and org.apache.cayenne.lifecycle.ref packages were combined in a single org.apache.cayenne.lifecycle.id package ("ref" was a leftover from the earlier "referenceable" concept, that gradually died out, as all Cayenne objects are referenceable by nature).
> cayenne-lifecycle: don't call String representation of ObjectId a UUID
> ----------------------------------------------------------------------
>
> Key: CAY-1639
> URL: https://issues.apache.org/jira/browse/CAY-1639
> Project: Cayenne
> Issue Type: Improvement
> Components: Lifecycle Extensions
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Fix For: 3.1M4
>
>
> "UUID" term is used very loosely in cayenne-lifecycle. Per http://en.wikipedia.org/wiki/Universally_unique_identifier UUID is a 16 byte number. Our "UUID" is a String like "Artist:1"... Need to call it something else and renamed the corresponding lifecycle classes before it made to a GA release. Not yet sure what a good short term might be, but essentially we are talking about an ObjectId serialized to String.
--
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