Re: Modeling question
Andrus Adamchik <[email protected]> Mon, 13 Oct 2025 08:35:09 -0400
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Message-ID | <[email protected]> |
Yeah, cross-DataMap inheritance is not supported. We probably *can* = support it technically, as all DataMaps are eventually combined in a = single namespace, but currently it doesn't work. A. > On Oct 12, 2025, at 5:24=E2=80=AFPM, Ricardo Parada = <[email protected]> wrote: >=20 > Hello, >=20 > I have an Attachments data map that has an Attachment ObjEntity mapped = to the ATTACHMENT DbEntity. >=20 > In a separate data map named Main, I have a ClaimAttachment ObjEntity. = I want this to be a child of the Attachment ObjEntity. >=20 > In the Cayenne Modeler I click on the ClaimAttachment ObjEntity and in = the ObjEntity Configuration section I see an Inheritance drop down. The = only option in that drop down is "Direct Mapping to Table/View=E2=80=9D. = =20 >=20 > Shouldn=E2=80=99t this drop down list have the Attachment ObjEntity = listed there? The Attachment ObjEntity has the Abstract class check box = selected. >=20 > Thanks in advance for any help, > Ricardo Parada >=20