[
https://issues.apache.org/jira/browse/CAUSEWAY-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059293#comment-18059293
]
Andi Huber commented on CAUSEWAY-3969:
--------------------------------------
We might also consider checking the byte-code version of enhanced classes.
> [JPA] Fail early on inconsistent weave state within discovered entity type
> hierarchies
> --------------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3969
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3969
> Project: Causeway
> Issue Type: Improvement
> Components: Persistence JPA
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 4.0.0
>
>
> For every entity discovered, its entire type hierarchy (excluding interfaces)
> needs to be either byte-code enhanced or not. Mixed states may lead to
> unpredictable behavior. That is failures later at runtime affecting
> persistence related domain code.
> We want a safeguard at application launch, that checks every discovered JPA
> entity.
> (backport to v2 is desired)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)