原文地址:http://www.hibernate.org/397.html

Hibernate Annotations


Hibernate, like all other object/relational mapping tools, requires metadata(元数据) that governs(支配、管理) the transformation(转化) of data from one representation to the other (and vice versa). As an option, you can now use JDK 5.0 annotations for object/relational mapping with Hibernate 3.2. You can use annotations in addition to or as a replacement of XML mapping metadata.

The Hibernate Annotations package includes:

Standardized Java Persistence and EJB 3.0 (JSR 220) object/relational mapping annotations
Hibernate-specific extension annotations for performance optimization(性能最优化) and special mappings
You can use Hibernate extension annotations on top of standardized(标准的) Java Persistence annotations to utilize(利用) all native (本地、本土)Hibernate features.

Requirements: At a minimum, you need JDK 5.0 and Hibernate Core, but no application server or EJB 3.0 container. You can use Hibernate Core and Hibernate Annotations in any Java EE 5.0 or Java SE 5.0 environment.

If you are a new user, please follow this road map to get started with Hibernate Annotations.
评论
发表评论

您还没有登录,请登录后发表评论

keete
搜索本博客
最近加入圈子
存档
最新评论