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

Andrus Adamchik closed CAY-2987.
--------------------------------
    Resolution: Fixed

> DataNode to own PkGenerator
> ---------------------------
>
>                 Key: CAY-2987
>                 URL: https://issues.apache.org/jira/browse/CAY-2987
>             Project: Cayenne
>          Issue Type: Task
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 5.0-M3
>
>
> DbAdapter.setPkGenerator(..) is a code smell. Adapter should be a factory of 
> DB-specific defaults, not an owner of a potentially unrelated generator. So 
> let's make DataNode the owner, taking generator from DbAdapter by default, 
> but allowing to override it vi DataNode.setPkGenerator(..). 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to