You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Maxim Solodovnik (Jira)" <ji...@apache.org> on 2026/09/03 14:02:00 UTC

[jira] [Resolved] (OPENJPA-2992) Non-entity classes in persistence.xml silently skipped

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

Maxim Solodovnik resolved OPENJPA-2992.
---------------------------------------
      Assignee: Richard Zowalla
    Resolution: Fixed

> Non-entity classes in persistence.xml silently skipped
> ------------------------------------------------------
>
>                 Key: OPENJPA-2992
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2992
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jpa
>    Affects Versions: 4.2.0
>            Reporter: Maxim Solodovnik
>            Assignee: Richard Zowalla
>            Priority: Major
>             Fix For: 4.2.0
>
>
> Discussion thread: https://github.com/apache/openjpa/pull/144#discussion_r3683006891
> **(medium)** Inverted from "listing a non-persistent class in persistence.xml raises ArgumentException" to "non-entity classes are silently skipped". Silent skipping also hides real user errors (forgotten annotations, broken enhancement) that previously failed fast. Is this required by a specific TCK test? If so, could we at least keep a warning log and reference the TCK requirement in a comment?



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