This document is a Hibernate Developer's Guide, which introduces the usage of Hibernate and related experience. It aims to provide a way for developers to get started and master Hibernate.
This guide introduces Hibernate 1.0, showing how to prepare the environment, build basic code, configure the framework and understand its core concepts. It walks through mapping files, data retrieval, association handling, transaction management and advanced features such as caching and Spring integration.
Practical examples include using Middlegen‑Hibernate to generate ORM files from a database, configuring database connections, and applying XDoclet tags for code generation. The document ends with advice on choosing an ORM and best practices for architecture design. This manual is written in Chinese.
| Version | 1.0 |
|---|---|
| Release date | September 2, 2004 |
Hibernate mapping files use the “.hbm.xml” extension.
The Middlegen‑Hibernate tool can generate ORM files from a database schema.