Skip to:
While investigating https://discourse.hibernate.org/t/getting-npe-while-using-cache-usage-read-only-in-hbmxml-in-hibernate-5-2-11 I saw that the XSD and DTD mapping defines a different order of elements than the JAXB model which leads to a parsing error. The JAXB model should be aligned with the XSD model.
Apparently, there are two XSDs
While investigating https://discourse.hibernate.org/t/getting-npe-while-using-cache-usage-read-only-in-hbmxml-in-hibernate-5-2-11 I saw that the XSD and DTD mapping defines a different order of elements than the JAXB model which leads to a parsing error. The JAXB model should be aligned with the XSD model.