<p class="wikiPara">Hibernate 团队今天宣布了 4.0 正式版发布了,有大量的人员包括来自社区的贡献者参与了 4.0 版本的开发和测试,非常感谢你们。</p> <p class="wikiPara">你可通过下面地址来下载 Hibernate 4.0 Final:<a href="/misc/goto?guid=4958318805822355465">ZIP</a> 或者 <a href="/misc/goto?guid=4958318806619699642">TGZ</a></p> <p class="wikiPara">Hibernate 4.0 包含众多改进,下面是一个主要的改进列表:</p> <ol class="wikiOrderedList"> <li class="wikiOrderedListItem">Initial multi-tenancy support. 详情请看 <a href="/misc/goto?guid=4958318807410155392">http://in.relation.to/Bloggers/HibernateAndMultitenancyWebinar</a> 和 <a href="/misc/goto?guid=4958318808200208549">http://in.relation.to/Bloggers/MultitenancyInHibernate</a></li> <li class="wikiOrderedListItem">引入 ServiceRegistry,这是 Hibernate 用于构建和管理“服务”的方法,详情请看开发者指南</li> <li class="wikiOrderedListItem">Clean up of Session opening from SessionFactory</li> <li class="wikiOrderedListItem">通过 org.hibernate.integrator.spi.Integrator 和自动发现改进了集成</li> <li class="wikiOrderedListItem">改进日志对 I18N 的支持和消息编码</li> <li class="wikiOrderedListItem">Initial work on more clear split between API, SPI and implementation classes. If you import a class contained in an internal package, you know that this code is not guaranteed to work between releases. </li> <li class="wikiOrderedListItem">清理了废弃的方法和类</li> </ol> <p class="wikiPara">如果你正在使用老的 Hibernate 版本,可参考 <a href="/misc/goto?guid=4958318808987571979">移植指南</a>.</p> <p>下面是一些相关的文档:</p> <ol class="wikiOrderedList"> <li class="wikiOrderedListItem"><a href="/misc/goto?guid=4958318809769401141">Hibernate Getting Started Guide</a></li> <li class="wikiOrderedListItem"><a href="/misc/goto?guid=4958318810558400247">Hibernate Reference Documentation</a></li> <li class="wikiOrderedListItem"><a href="/misc/goto?guid=4958318811352437352">Hibernate Developer Guide</a></li> <li class="wikiOrderedListItem"><a href="/misc/goto?guid=4958318812137999285">Hibernate EntityManager User Guide</a></li> </ol> <p class="wikiPara">同时发布的还有 Hibernate 3.6.9</p>