binghai03 发表于 2015-9-16 04:45:04

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

欢迎加入运维网交流群:263444886
  Hibernate 5.0.1 正式发布,更新内容如下:
  ** Bug 修复
    * - Second level query cache returns stale data if query and update statements are executed concurrently
    * - CacheImpl.containsQuery(String) does not check if query cache is enabled
    * - SessionImplementor.getTimestamp() does not return transaction start time
    * - Cannot define Path rooted at a collection join referencing attribute named same as "collection property"
    * - hibernate-osgi unmanaged JPA not able to locate persistence.xml schema in entitymanager jar
    * - Revert HHH-9736; BigIntegerType really should use NumericTypeDescriptor
    * - hibernate-infinispan incompatible with Infinispan 8.0.0.CR1
    * - Order of subclass joins are no longer determinate
    * - Broken documentation page link in User guide
    * - Reuse JAXBContext instance (Slow mapping initialization)
    * - Missing generated JPA static metamodel class for envers revision entity
    * - ClassCastException between CompositeCustomType and ComponentType part 2
    * - Remove obsolete Type, AssociationType and TypeFactory methods
    * - Multiple bytecode enhancement attempts if hibernate.enable_lazy_load_no_trans set multiple times
    * - Gradle plugin does not enhance any classes
    * - Enforce synchronization on Enhancer.enhance()
    * - Restrict enhanced getter/setter usage
  ** 新特性
    * - Add read-write cache concurrency strategy to Infinispan 2LC
  ** 任务
    * - Remove superfluous references to enclosing class
    * - Add EqualsHelper#areEqual which adds array-specific equality checks
  ** 改进
    * - Improvements to org.hibernate.bytecode.enhance.internal.AttributeTypeDescriptor#buildInLineDirtyCheckingBodyFragment
    * - Consider hibernate-java8 types for use with @Version
    * - Modify Create Index SQL to support the Teradata database
    * - Separate settings for notions of (1) disabling EnversService and (2) auto-registering Envers listeners
    * - Parameterized test runner compatible with CustomRunner
    * - Make EntityManagerFactoryBuilderImpl.populate methods protected
  ** 废弃
    * - Deprecate use of "collection properties" in HQL
  更多内容请看发行说明。

  Hibernate是一种Java语言下的对象关系映射解决方案。 它是使用GNU宽通用公共许可证发行的自由、开源的软件。它为面向对象的领域模型到传统的关系型数据库的映射,提供了一个使用方便的框架。Hibernate也是目前Java开发中最为流行的数据库持久层框架,现已归JBOSS所有。
  它的设计目标是将软件开发人员从大量相同的数据持久层相关编程工作中解放出来。无论是从设计草案还是从一个遗留数据库开始,开发人员都可以采用Hibernate。
  Hibernate不仅负责从Java类到数据库表的映射(还包括从Java数据类型到SQL数据类型的映射),还提供了面向对象的数据查询检索机制,从而极大地缩短的手动处理SQL和JDBC上的开发时间。
Hibernate 3.6 JavaDoc
Hibernate 4.1 GA JavaDoc
页: [1]
查看完整版本: Hibernate 5.0.1 发布,添加读写缓存并发策略