Hibernate 4有哪些新特性? [英] What's new in Hibernate 4?
问题描述
所以,我写了一篇博文,请到那里找答案。 。
编辑:引用自 http://in.relation .to / Bloggers / WhatsNewInHibernateCore40 。
$ b
Hibernate Core 4.0中的新功能
我看到有人问Hibernate Core 4.0中有什么新东西,所以我有时候花
来尝试在这里总结一下。首先请看:
一些亮点:
- 移至 gradle for builds
- 重新设计SessionFactory构建
- 引入服务(请参阅
- 改进的元模型(不在4.0 .0但最终,我们计划了这一点,但由于任务超出了我们的预期,而且花费太长时间
才能获得4.0 o ut,所以我们决定从4.0.0.Final中移出,但即将发布的
将很快见这以获取更多详情,以及 是一个
设计文档)
- 通过包拆分(public,internal,spi)进行初始化操作
- 支持多租户数据库(有关更多详细信息,请参阅此)。
- 迁移到i18n日志框架(使用 jboss日志记录)
- JDK 1.6(JDBC4)作为基准
- 以及更多(我不记得所有的事情:)
I just saw that a beta of Hibernate 4 was released. What's new in 4 compared to 3(.6)? I couldn't find this info in the beta announcement, nor when Googling the title of this question.
I can't paste the answers here because I don't have enough reputation points to add more than two links in the answer (I really need spend more time on this site) :(
So, I wrote a blog post. Please go there and find the answers. Sorry for the inconvenience.
EDIT: Quoted from http://in.relation.to/Bloggers/WhatsNewInHibernateCore40.
What's new in Hibernate Core 4.0
I saw someone is asking "what new in Hibernate Core 4.0", so I take sometime and try to summary it here. first of all, please see:
- The migration guide for 4.0
- JIRA filter link which lists all *improvements- and new features in Hibernate Core 4.0.0, you can get all details from this link :)
Some highlights:
- Move to gradle for builds
- Redesign SessionFactory building
- Introduction of services (see this for more details)
- Improved metamodel (not in 4.0.0.Final yet, we planned this, but due to the tasks are more than we expected, and it would take too long to get 4.0 out, so we decided to move this out of 4.0.0.Final but will be upcoming release soon see this for more details, and this is a design document)
- Initial osgi-fication by package splitting (public, internal, spi)
- Support for multi-tenant databases (see this for more details)
- Migration to i18n logging framework (using jboss logging)
- JDK 1.6 (JDBC4) as baseline
- and more (I can't remember all the things :)
这篇关于Hibernate 4有哪些新特性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!