You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2020/10/02 15:21:00 UTC
[jira] [Created] (CAY-2682) Vertical Inheritance: DB-generated PK
doesn't propagate from the root to children
Nikita Timofeev created CAY-2682:
------------------------------------
Summary: Vertical Inheritance: DB-generated PK doesn't propagate from the root to children
Key: CAY-2682
URL: https://issues.apache.org/jira/browse/CAY-2682
Project: Cayenne
Issue Type: Bug
Components: Core Library
Affects Versions: 4.1, 4.0.2
Reporter: Nikita Timofeev
Assignee: Nikita Timofeev
Fix For: 4.1.1
In the vertical inheritance setup, if the root entity has DB-generated PK it doesn't propagate to subclasses. Insert fails with SQL error as PK is NULL in the subclass table.
This works in Cayenne 4.2 as it has new {{FlushAction}} implementation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)