Hibernate 简明教程

Hibernate Tutorial

Hibernate 是一款高性能的对象/关系持久化和查询服务,它根据开源 GNU 宽松通用公共许可证 (LGPL) 获得许可,并可免费下载。Hibernate 不仅负责从 Java 类到数据库表的映射(以及从 Java 数据类型到 SQL 数据类型的映射),还提供数据查询和检索功能。本教程将教你如何使用 Hibernate 以简单易行的步骤开发基于数据库的 Web 应用程序。

Hibernate is a high-performance Object/Relational persistence and query service, which is licensed under the open source GNU Lesser General Public License (LGPL) and is free to download. Hibernate not only takes care of the mapping from Java classes to database tables (and from Java data types to SQL data types), but also provides data query and retrieval facilities. This tutorial will teach you how to use Hibernate to develop your database based web applications in simple and easy steps.

Audience

本教程专为那些想要了解 Hibernate 框架及其 API 的所有 Java 程序员而设计。

This tutorial is designed for all those Java programmers who would like to understand the Hibernate framework and its API.

Prerequisites

我们假设您对 Java 编程语言有充分的了解。对关系数据库、JDBC 和 SQL 的基本了解将对理解本教程非常有帮助。

We assume you have a good understanding of the Java programming language. A basic understanding of relational databases, JDBC, and SQL will be very helpful in understanding this tutorial.