From 4670087c1acab4b2e2618d9a2fdf0c47bb04203e Mon Sep 17 00:00:00 2001
From: Gavin
Date: Mon, 2 Jan 2023 22:26:31 +0100
Subject: [PATCH] mention XML mappings in overview
---
hibernate-core/src/main/javadoc/overview.html | 21 +++++++++++++++++++
release/src/release/javadoc/overview.html | 21 +++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/hibernate-core/src/main/javadoc/overview.html b/hibernate-core/src/main/javadoc/overview.html
index d69e3dcca4..f50b638e7b 100644
--- a/hibernate-core/src/main/javadoc/overview.html
+++ b/hibernate-core/src/main/javadoc/overview.html
@@ -75,6 +75,27 @@
The full power of Hibernate can only be unlocked via judicious use of these extra annotations.
+XML-based mappings
+
+Annotation-based mappings are the best choice for most users, but Hibernate offers XML-based
+mappings as an alternative.
+
+
+ -
+ The JPA-standard XML schema is
+ orm_3_0.xsd.
+
+ -
+ Hibernate extends this schema with some additional mapping elements. The schema is
+ mapping-3.1.0.xsd.
+
+ -
+ Prior to the existence of JPA, Hibernate had its own format for XML-based mappings,
+ which still works, though it has not been improved in a long time. The DTD is
+ hibernate-mapping-3.0.dtd
+
+
+
Bootstrapping Hibernate
diff --git a/release/src/release/javadoc/overview.html b/release/src/release/javadoc/overview.html
index d69e3dcca4..86e1e8202b 100644
--- a/release/src/release/javadoc/overview.html
+++ b/release/src/release/javadoc/overview.html
@@ -75,6 +75,27 @@
The full power of Hibernate can only be unlocked via judicious use of these extra annotations.
+XML-based mappings
+
+Annotation-based mappings are the best choice for most users, but Hibernate offers XML-based
+mappings as an alternative.
+
+
+ -
+ The JPA-standard XML schema is
+ orm_3_0.xsd.
+
+ -
+ Hibernate extends this schema with some additional mapping elements. The schema is
+ mapping-3.1.0.xsd.
+
+ -
+ Prior to the existence of JPA, Hibernate had its own format for XML-based mappings,
+ which still works, though it has not been improved in a long time. The DTD is
+ hibernate-mapping-3.0.dtd
+
+
+
Bootstrapping Hibernate