[
https://issues.apache.org/jira/browse/OPENJPA-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111061#comment-18111061
]
ASF subversion and git services commented on OPENJPA-2992:
----------------------------------------------------------
Commit 19a0c428c68988885b1f7e779731dd0acc1aa3d8 in openjpa's branch
refs/heads/master from Paulo Cristovão de Araújo Silva Filho
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=19a0c428c ]
Merge pull request #175 from apache/OPENJPA-2992
[OPENJPA-2992] Log the classes skipped for want of metadata
> 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
> 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)