红联Linux门户
Linux帮助

Hibernate ORM 4.3.0.Final发布

发布时间:2013-12-18 09:39:56来源:红联作者:empast
Hibernate 团队很高兴的宣布 Hibernate ORM 4.3.0 Final 版本发布,该版本通过了 JPA 2.1 规范认证。

JPA 2.1 包含如下新特性:

Support for stored procedures. See my previous blog for details
CriteriaUpdate and CriteriaDelete allow definition and execution of UPDATE and DELETE queries in type-safe Criteria form.
Entity listeners can now take advantage of dependency injection through CDI.
AttributeConverters, which define the ability to apply conversions on basic values between their database representation and their representation in your domain model. This is similar in concept to Hibernate's Type contract, although certainly less powerful (can only apply to basic values and operate on in-memory values). On the positive side, JPA AttributeConverters are portable across providers.
Entity Graph support
Standardized schema generation. With 2.1 JPA now defines schema generation which is standardized across providers in terms of how generation is performed and the settings providers understand as a baseline. Arun Gupta has a good write up of the basic schema generation support.
Synchronization of persistence contexts via SynchronizationType
@ConstructorResult support in result set mappings for native queries

非 JPA 方面的工作还包括:

Continued improvement in Hibernate's support for OSGi environments. OSGi support in 4.3 is still somewhat bound by certain design limitations within Hibernate, We plan to fully address these limitations in 5.0 (see HHH-8501 for details).
Continued work on new bytecode enhancement support within Hibernate, adding support for inline dirty checking. See HHH-8354 for details.
Initial break down of the monolithic DocBook-based manuals into smaller Asciidoc-based topical guides (HHH-8606). This is an ongoing process.

项目主页:http://hibernate.org/

下载地址:http://sourceforge.net/projects/hibernate/files/

来自:开源中国社区
文章评论

共有 0 条评论