[
https://issues.apache.org/jira/browse/CAY-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Timofeev closed CAY-2900.
--------------------------------
Resolution: Fixed
*4.2*:
https://github.com/apache/cayenne/commit/b052080a401cdc9a7403b89997616de5bededc0c
*5.0*:
https://github.com/apache/cayenne/commit/e24c57ededa97a24b5d123e78c3e565d7ad61f38
> Meaningful generated PKs could lead to the ClassCastException
> -------------------------------------------------------------
>
> Key: CAY-2900
> URL: https://issues.apache.org/jira/browse/CAY-2900
> Project: Cayenne
> Issue Type: Bug
> Components: Core Library
> Affects Versions: 4.1.1, 4.2.2, 5.0-M1
> Reporter: Nikita Timofeev
> Assignee: Nikita Timofeev
> Priority: Major
> Fix For: 4.2.3, 5.0-M2
>
>
> Generated primary key that is mapped to the {{ObjAttribute}} with a type
> different from default one Cayenne calculates causes {{ClassCastException}}
> on insert.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)