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)