[
https://issues.apache.org/jira/browse/CAUSEWAY-3959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18054895#comment-18054895
]
Andi Huber edited comment on CAUSEWAY-3959 at 1/28/26 5:16 PM:
---------------------------------------------------------------
There is yet an unsolved problem, that is DomainObject and DomainObjectLayout
annotations are not allowed on interfaces. That is a framework restriction.
However, we could introduce a marker interface EntityInterface say, which would
be the explicit exception to this rule and hints the framework to expect
concrete implementations to be of BeanSort ENTITY.
was (Author: ahuber):
There is yet an unsolved problem, that is DomainObject and
DomainObjectAnnotations are not allowed on interfaces. That is a framework
restriction. However, we could introduce a marker interface EntityInterface
say, which would be the explicit exception to this rule and hints the framework
to expect concrete implementations to be of BeanSort ENTITY.
> [JPA] Build framework-provided Entities using Static Weaving
> ------------------------------------------------------------
>
> Key: CAUSEWAY-3959
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3959
> Project: Causeway
> Issue Type: New Feature
> Components: Persistence JPA
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 4.0.0
>
>
> We could perhaps provide additional Maven artifacts distinguished by a
> classifier (in terms of Maven coordinates).
> Alternatively just figure out how corresponding build instructions look like
> and then document the build process.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)