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/08/20 08:13:00 UTC

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

Maxim Solodovnik created OPENJPA-2992:
-----------------------------------------

             Summary: 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
             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)