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 With the fix in PR, XML files are parsed and the generated JPA model includes all details |