anchor.diff:  
   Please remember these are not the same property names as the ones used in the Quarkus `{config-file}`, nor will
   the same defaults be applied.
  +
  +[[xml-mapping]]
  +== XML mapping
  +
  +Hibernate ORM in Quarkus supports XML mapping.
  +You can add mapping files following
  +the https://jakarta.ee/specifications/persistence/3.0/jakarta-persistence-spec-3.0.html#a16944[`orm.xml` format (JPA)]
  +or the http://hibernate.org/dtd/hibernate-mapping-3.0.dtd[`hbm.xml` format (specific to Hibernate ORM, deprecated)]:
  +
  +* in `application.properties` through the (build-time) link:#quarkus-hibernate-orm_quarkus.hibernate-orm.mapping-files[`quarkus.hibernate-orm.mapping-files`] property.
  +* in <<persistence-xml,`persistence.xml`>> through the `<mapping-file>` element.
  +
  +XML mapping files are parsed at build time.
  +
  +[IMPORTANT]
  +====
  +The file `META-INF/orm.xml` will always be included by default, if it exists in the classpath.
  +
  +If that is not what you want, use `quarkus.hibernate-orm.mapping-files = no-file` or `<mapping-file>no-file</mapping-file>`.
  +====
   
   == Defining entities in external projects or jars
   
  
positive.code: EntityManagerFactory entityManagerFactory;
  ----
  
  == Setting up and configuring Hibernate ORM with a `persistence.xml`
  
  Alternatively, you can use a `META-INF/persistence.xml` to set up Hibernate ORM.
  
negative.code: 
  === Limitations
  
  XML mapping with duplicate files in the classpath::
  <<xml-mapping,XML mapping>> files are expected to have a unique path.
  +
  In practice, it's only possible to have duplicate XML mapping files in the classpath in very specific scenarios.
  For example, if two JARs include a `META-INF/orm.xml` file (with the exact same path, but in different JARs),
  then the mapping file path `META-INF/orm.xml` can only be referenced from a `persistence.xml`
  **in the same JAR as the `META-INF/orm.xml` file**.
  
  JMX::
  Management beans are not working in GraalVM native images;
  