发布于 2017-06-25 00:00:46 | 150 次阅读 | 评论: 0 | 来源: 网友投递
Hibernate 开源对象关系映射框架 ORM
Hibernate是一个开放源代码的对象关系映射框架,它对JDBC进行了非常轻量级的对象封装,使得Java程序员可以随心所欲的使用对象编程思维来操纵数据库。 Hibernate可以应用在任何使用JDBC的场合,既可以在Java的客户端程序使用,也可以在Servlet/JSP的Web应用中使用,最具革命意义的是,Hibernate可以在应用EJB的J2EE架构中取代CMP,完成数据持久化的重任。
Hibernate ORM 5.1.8.Final 已发布,该版本可能是 5.1 系列最后的一个版本,修复了一些 bug。不过为了将来能收到 bug 修复的更新,建议迁移至 5.2 系列。
Bug 修复
[HHH-9329] - Join With SQL generation regression
[HHH-10907] - Fix connection leak problem in hibernate-core tests
[HHH-11133] - Audit tables storing incorrect discriminator value when using JOINED entity inheritance.
[HHH-11157] - Invalid identifiers generated in org.hibernate.engine.internal.JoinSequence
[HHH-11205] - char is not treated as nationalized character
[HHH-11214] - ValidityAuditStrategy not audit properly nested collection with nulls
[HHH-11215] - NullPointerException when reading an audited entity that has a collection of embeddables with a ManyToOne to an unaudited entity.
[HHH-11230] - Aggregate on (mappedBy) joined column produces invalid query
[HHH-11296] - Incorrect handling of NCLOB streaming
[HHH-11401] - Subquery join rewrite produces wrong SQL in some cases
[HHH-11502] - XML Mapped Entity with a ManyToOne association to a Annotation Mapped Entity -> NullPointerException
[HHH-11536] - Fix unit tests failing on Oracle
[HHH-11818] - ClassCastException when binding a MaterializedNClobType value as NClob
[HHH-11832] - ManyToManyWithDynamicFilterTest fails on Sybase due to reserved word
改进
[HHH-10946] - Add utility to detect connection leaks during testing
[HHH-11450] - The testWithClause from WithClauseTest class fails on PostgreSQL
[HHH-11585] - Batch ordering fails for bidirectional one-to-one associations
下载地址