红联Linux门户
Linux帮助

Hibernate 5.2.9发布,数据持久层框架

发布时间:2017-03-17 18:58:46来源:红联作者:roeta
Hibernate 5.2.9 发布了。

Hibernate 是一种 Java 语言下的对象关系映射解决方案。 它是使用 GNU 宽通用公共许可证发行的自由、开源的软件。它为面向对象的领域模型到传统的关系型数据库的映射,提供了一个使用方便的框架。Hibernate 也是目前 Java 开发中最为流行的数据库持久层框架,现已归 JBOSS 所有。

更新内容:

Bug

@IdClass with @MappedSuperclass results in "property not found"

Do not send RemoveExpiredCommands in repl/dist caches

Silence lock acquisition failures on remote nodes

In nonstrict mode, putFromLoad after evict can behave incorrectly

Query parameter binding validation issue

Schema update should not try to query sequences for Dialects not supporting them (DB2400Dialect, DerbyDialect, DB2390Dialect)

HQL query against field marked with @Lob fails on PostgreSQL

XML Mapped Entity with a ManyToOne association to a Annotation Mapped Entity -> NullPointerException

LimitHandler parameter binding fails on SQL Server 2012

Lazy properties are not updated on bytecode-enhanced entity if not all lazy properties (e.g. collections) are initialized

NativeQuery#iterate throws QuerySyntaxException instead of UnsupportedOperationException

QuerySyntaxException when sorting by a column using a JPQL reserved keyword

Level two cache may not be enabled when using @Cacheable without/instead of @Cache

Getting NullPointerException from ScanningCoordinator debug log

Fix unit tests failing on Oracle

Redundant left outer joins in generated SQL

Metamodel does not include embeddable type used in type variables

ForeignKey definition of @CollectionTable isn't properly used

Misspelling in documentation

Unable to locate MappedSuperclass version attribute when mixing annotations with hibernate mapping files

Inherited interfaces are not considered when creating EntityMetamodel

AbstractSharedSessionContract doesn't restore ExceptionConverter after de-serialization

Fix tests catching exceptions without re-throwing them

Envers throws a MappingException for Lob + ElementCollection for non-audited properties.

Hibernate Envers listeners fail because EntityManager is closed when using JPA/JTA/Hibernate 5.2.8/Envers

Improvement

Naming Strategy Does not affect the user-specified index/foreign-key names

Log a warning if @Cache / @Cacheable specified on non-root entities

Refactor MySQL Dialects

Infomix limit handler support for offset

Log4DelegatingLogger slows down testsuite execution by formatting messages too eagerly

IdentityGeneratorExtendsTest.testIdentifierGeneratorExtendsIdentityGenerator failing on Oracle DBs

Forward IOException in ClassFileArchiveEntryHandler::toClassFile

Envers Query API throws NullPointerException when providing a non-audited entity class.

Avoid calling multiple times org.hibernate.mapping.Component#getComponentClass() during the PojoComponentTuplizer creation

ThreadLocal access in ManagedSessionContext does not need synchronization

Throw QueryException rather than antlr-specific exceptions when query parsing fails.

软件详情:https://github.com/hibernate/hibernate-orm/

下载地址:https://github.com/hibernate/hibernate-orm/archive/5.2.9.zip

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

共有 0 条评论