Re: Modeling question
Ricardo Parada <[email protected]> Wed, 15 Oct 2025 06:02:12 -0400
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Andrus, My eomodel-to-cayenne converter automatically puts these eomodels into a = Main data map. That should work fine and these all use the same data = node so I don=E2=80=99t think this will be a problem. =20 Thank you, Ricardo > On Oct 13, 2025, at 8:35=E2=80=AFAM, Andrus Adamchik = <[email protected]> wrote: >=20 > 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. >=20 > A. >=20 >> 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 >=20