转载

Hibernate 5.0.1 发布,添加读写缓存并发策略

Hibernate 5.0.1 正式发布,更新内容如下:

** Bug 修复

* [HHH-9962] - Second level query cache returns stale data if query and update statements are executed concurrently

* [HHH-9975] - CacheImpl.containsQuery(String) does not check if query cache is enabled

* [HHH-10008] - SessionImplementor.getTimestamp() does not return transaction start time

* [HHH-10024] - Cannot define Path rooted at a collection join referencing attribute named same as "collection property"

* [HHH-10044] - hibernate-osgi unmanaged JPA not able to locate persistence.xml schema in entitymanager jar

* [HHH-10053] - Revert HHH-9736; BigIntegerType really should use NumericTypeDescriptor

* [HHH-10057] - hibernate-infinispan incompatible with Infinispan 8.0.0.CR1

* [HHH-10060] - Order of subclass joins are no longer determinate

* [HHH-10064] - Broken documentation page link in User guide

* [HHH-10065] - Reuse JAXBContext instance (Slow mapping initialization)

* [HHH-10068] - Missing generated JPA static metamodel class for envers revision entity

* [HHH-10069] - ClassCastException between CompositeCustomType and ComponentType part 2

* [HHH-10073] - Remove obsolete Type, AssociationType and TypeFactory methods

* [HHH-10076] - Multiple bytecode enhancement attempts if hibernate.enable_lazy_load_no_trans set multiple times

* [HHH-10077] - Gradle plugin does not enhance any classes

* [HHH-10078] - Enforce synchronization on Enhancer.enhance()

* [HHH-10079] - Restrict enhanced getter/setter usage

** 新特性* [HHH-10030] - Add read-write cache concurrency strategy to Infinispan 2LC

** 任务

* [HHH-9593] - Remove superfluous references to enclosing class

* [HHH-9954] - Add EqualsHelper#areEqual which adds array-specific equality checks

** 改进

* [HHH-10020] - Improvements to org.hibernate.bytecode.enhance.internal.AttributeTypeDescriptor#buildInLineDirtyCheckingBodyFragment

* [HHH-10026] - Consider hibernate-java8 types for use with @Version

* [HHH-10054] - Modify Create Index SQL to support the Teradata database

* [HHH-10056] - Separate settings for notions of (1) disabling EnversService and (2) auto-registering Envers listeners

* [HHH-10058] - Parameterized test runner compatible with CustomRunner

* [HHH-10059] - Make EntityManagerFactoryBuilderImpl.populate methods protected

** 废弃* [HHH-10070] - Deprecate use of "collection properties" in HQL

更多内容请看 发行说明 。

Hibernate 5.0.1 发布,添加读写缓存并发策略

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

它的设计目标是将软件开发人员从大量相同的数据持久层相关编程工作中解放出来。无论是从设计草案还是从一个遗留数据库开始,开发人员都可以采用Hibernate。

Hibernate不仅负责从Java类到数据库表的映射(还包括从Java数据类型到SQL数据类型的映射),还提供了面向对象的数据查询检索机制,从而极大地缩短的手动处理SQL和JDBC上的开发时间。 Hibernate 3.6 JavaDoc

Hibernate 4.1 GA JavaDoc
正文到此结束
Loading...