You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2025/03/14 19:45:00 UTC

[jira] [Updated] (CAUSEWAY-3867) [Persistence] JPA Embeddable should override Entity

     [ https://issues.apache.org/jira/browse/CAUSEWAY-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber updated CAUSEWAY-3867:
---------------------------------
    Description: 
Say we have an entity Car and a subtype CarNonPersistent, then with JPA we can annotate the CarNonPersistent type with Embedded, which prevents JPA from creating a table for it.

However, Causeway's metamodel introspection must play along and don't identify classes as entity candidates, when annotated w/ Embedded.

  was:
Say we have an entity Car and a subtype CarNonPersistent, then with JPA wr can annotate the CarNonPersistent type with Embedded, which prevents JPA from creating a table for it.

However Causeways metamodel introspect must play along and don't identify classes as entity candidates, when annotated w/ Embedded.


> [Persistence] JPA Embeddable should override Entity
> ---------------------------------------------------
>
>                 Key: CAUSEWAY-3867
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3867
>             Project: Causeway
>          Issue Type: Improvement
>          Components: Persistence JPA
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 3.3.0
>
>
> Say we have an entity Car and a subtype CarNonPersistent, then with JPA we can annotate the CarNonPersistent type with Embedded, which prevents JPA from creating a table for it.
> However, Causeway's metamodel introspection must play along and don't identify classes as entity candidates, when annotated w/ Embedded.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)