Hack Kampbjørn (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-13794 (
https://hibernate.atlassian.net/browse/HHH-13794?atlOrigin=eyJpIjoiMjVkN2...
)
Re: JPA Metamodelgen on JDK 11+ can fail with ClassCastException on JAXBContext due to
classloading conflict (
https://hibernate.atlassian.net/browse/HHH-13794?atlOrigin=eyJpIjoiMjVkN2...
)
That project exposes the problem:
[INFO] --- maven-processor-plugin:4.0-rc1:process (process) @ hhh-13794-testcase ---
[INFO] diagnostic: Note: Hibernate JPA 2 Static-Metamodel Generator 5.6.10.Final
[WARNING] diagnostic: warning: Unable to parse persistence.xml: Unable to perform
unmarshalling at line number 0 and column 0. Message: null
It does not have any details in the XML files so it generates the model on annotations
alone.
I’ve updated the test case so it fails when XML files are not parsed
https://github.com/worldticket/hhh-13794-testcase (
https://github.com/worldticket/hhh-13794-testcase )
With the fix in PR, XML files are parsed and the generated JPA model includes all details
(
https://hibernate.atlassian.net/browse/HHH-13794#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-13794#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100204- sha1:948b370 )