cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2520) Split ObjectId into several specialized variants
Date Tue, 05 Feb 2019 14:44:00 GMT

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

Nikita Timofeev closed CAY-2520.
--------------------------------
    Resolution: Fixed

This introduces minor incompatibility:
{code}
// Old version:
ObjectId id = new ObjectId("Artist", 123);
// New version:
ObjectId id = ObjectId.of("Artist", 123);
{code} 

https://github.com/apache/cayenne/commit/9e720f759f92565c99880cc88bd3340f8ad27f3f

> Split ObjectId into several specialized variants
> ------------------------------------------------
>
>                 Key: CAY-2520
>                 URL: https://issues.apache.org/jira/browse/CAY-2520
>             Project: Cayenne
>          Issue Type: Task
>          Components: Core Library
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.2.M1
>
>
> {{ObjectId}} class handles now *3* different cases:
>  * tmp ID
>  * single value ID
>  * compound ID
> It will be cleaner and more efficient if we just split this class into independent parts
that handle those cases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message