# Hibernate configuration 3.0

Source: https://xmlvalid.com/schemas/hibernate-configuration-3.0

> The hibernate.cfg.xml file, still read by Hibernate up to version 6.

hibernate.cfg.xml sets the session factory properties and lists mappings. Hibernate keeps accepting this DTD-based file in current versions.

- Type: DTD
- Version: 3.0
- Namespace: `No namespace`
- Root element: `hibernate-configuration`
- Publisher: Hibernate (GNU LGPL 2.1), source: http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd
- Validate against it: https://xmlvalid.com/validate?schema=hibernate-configuration-3.0

## Notes

- The Hibernate mapping DTD (hbm.xml) is not included: its content model is not deterministic, which XML validators such as libxml2 reject.
- The example is by xmlvalid.com.
