Hibernate ORM 5.2.1 发布 - 开源中国社区
Hibernate ORM 5.2.1 发布
淡漠悠然 2016年07月01日

Hibernate ORM 5.2.1 发布

淡漠悠然 淡漠悠然 发布于2016年07月01日 收藏 5 评论 15

有免费的MySQL,为什么还要买? >>>  

Hibernate ORM 5.2.1发布了,更新如下:

Bug

  • [HHH-7510] - LazyInitializationException thrown when deleting an entity while global_with_modified_flag turned on

  • [HHH-8305] - Envers auditing OneToOne inserts null in Aud JoinTable in a not stablished relationship

  • [HHH-8488] - JPA joinList and treat behaviour

  • [HHH-8999] - NullPointerException when updating or deleting multiple entities of same type with non-comparable IDs

  • [HHH-9128] - Regression: EnversHibernateToolTask is missing

  • [HHH-9322] - Updating multiple entities with the same name in the same flush throws a ClassCastException when using a non-Comparable user type as the entity ID

  • [HHH-9512] - Invalid entity being created when merging with recursive cascading

  • [HHH-10230] - Using boolean or null literals results in a parser error

  • [HHH-10238] - Derby MultiTableBulkIdStrategy uses non-existant temporary tables

  • [HHH-10245] - SelfDirtinessTracker not found

  • [HHH-10277] - AttributeConverter not applied to attributes of an embeddable used as collection element

  • [HHH-10299] - After adding "@Audited" to an entity field the warning "Use of DOM4J entity-mode is considered deprecated" appears

  • [HHH-10334] - @formula annotation javadoc contains database dependent sample usage

  • [HHH-10341] - Specification violation in Implementation of TupleElement

  • [HHH-10352] - HBM2DDL does not use described name for foreign key in join inheritance

  • [HHH-10360] - Natural ID columns are nullable by default (hbm mappings only)

  • [HHH-10361] - Child module osgi does not exist in hibernate-tutorials

  • [HHH-10375] - adding an entity at index to list with @OrderColumn in detached Entity

  • [HHH-10413] - byte[] as the version attribute broken

  • [HHH-10427] - ServiceRegistry creates multiple service instances and returns uninitialized services

  • [HHH-10511] - PluralAttribute.getPersistentAttributeType() wrong value with enhanced classes

  • [HHH-10515] - Stored procedure execution fails to find column

  • [HHH-10516] - Incorrect coalesce function for InformixDialect

  • [HHH-10540] - Incorrect bytecode instrumentation when there are multiple @Embedded attributes

  • [HHH-10562] - ManagedEntity linked list broken when mutable, non-associated enhanced entity is evicted

  • [HHH-10583] - BytecodeEnhancement's AssociationManagement breaks with entity containing two ToOne relations with the same mappedBy value.

  • [HHH-10642] - BytecodeEnhancements PersistentAttributesEnhancer bytecode error INVOKESPECIAL

  • [HHH-10643] - Attribute 'foreignKeyDefinition' of @javax.persistence.ForeignKey ignored by schema exporter

  • [HHH-10644] - Enhancement cause Exception if property field not present

  • [HHH-10648] - No MultipleBagFetchException is thrown when fetching two bags eagerly

  • [HHH-10679] - Subselect fetching is not used for collections if their entity owners are initialized in a batch

  • [HHH-10712] - Subselect fetches are not detected by load plans

  • [HHH-10729] - Issue with CriteriaBuilder.literal(boolean) in my select expression?

  • [HHH-10774] - SortedMap defined in .hbm.xml are not sortable

  • [HHH-10796] - org.hibernate.query.Query<R> setProperties(Map map); set to null parameters not contained in the map

  • [HHH-10797] - PostgreSQL81Dialect does not honor the lock timeout settings

  • [HHH-10801] - Bytecode enhancement of @MappedSuperclass

  • [HHH-10802] - Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign key

  • [HHH-10803] - JPA specification violation in Query.getParameter(int) in HIbernate 5.2

  • [HHH-10805] - PostgreSQL Dialect v 9.4 Doesn't support materialized view validation

  • [HHH-10807] - Flushing EntityManager with rollback only transcation causes error

  • [HHH-10811] - Envers can't start when some audited field has accented letters

  • [HHH-10820] - InformationExtractorJdbcDatabaseMetaDataImpl quoted table names

  • [HHH-10824] - Query.stream() generic element type is wrong

  • [HHH-10826] - Auxiliary Database Object no longer documented

  • [HHH-10833] - NoResultException does not thrown after updating to 5.2

  • [HHH-10841] - Field marked as @Generated not being audited.

  • [HHH-10843] - QuerySyntaxException when use CriteriaBuilder.concat in selectCase expression

  • [HHH-10846] - InformixDialect has incorrect substring function

  • [HHH-10851] - PropertyAccessMixed not aware of Access annotation

  • [HHH-10860] - Query#scroll() throws NPE

  • [HHH-10863] - Improve consistency of how we call implicitNamingStrategy.determineBasicColumnName with element collections

  • [HHH-10865] - Join table of lazy loading many-to-many relation not saved when lazy initialization bytecode enhancement is active

  • [HHH-10870] - Parameter lookup for Iterable fails on Criteria API

  • [HHH-10876] - DefaultIdentifierGeneratorFactory does not consider the hibernate.id.new_generator_mappings setting

  • [HHH-10885] - JPA Native Queries with ordinal parameter are zero based

  • [HHH-10886] - The follow-on-locking Oracle mechanism should consider UNION as well

  • [HHH-10889] - Fix unit tests failing on Oracle

  • [HHH-10890] - PostgreSQL does not consider alias-specific LockMode

  • [HHH-10893] - Reusing Query but changing collection parameters returns wrong result

  • [HHH-10904] - Fix tests failing when switching to MySQL

新特性:

  • [HHH-10816] - SQLServer2005Dialect does not use NOWAIT for aliases

  • [HHH-10817] - AbstractHANADialect should support the NOWAIT directive in the FOR UPDATE clause

  • [HHH-10837] - Add new setting to disable/enable scanning for the static metamodel.

  • [HHH-10877] - Introduce a configuration option to allow out of transaction updates

Task

  • [HHH-10799] - Add PostgreSQL 9.5 Dialect which supports the SKIP LOCKED clause

  • [HHH-10808] - Update documentation according to 5.2 changes

  • [HHH-10864] - Allow ORM to be built with Java 9

  • [HHH-10867] - Updating Hibernate Validator to 5.2.4.Final

  • [HHH-10899] - Provide module ZIP file for upgrading WildFly to latest Hibernate

Improvement

  • [HHH-1594] - Add on-delete="cascade" support to unidirectional *ToOne relationships.

  • [HHH-9021] - Select expression in JPA doesn't work

  • [HHH-9486] - Envers ValidityAuditStrategy triggers "HHH000444: Encountered request for locking ..." warning on Oracle

  • [HHH-10786] - Add MySQL 5.7 JSON datatype support

  • [HHH-10822] - Wrong signature for SharedSessionContract#setJdbcBatchSize

  • [HHH-10823] - Consider adding hibernate-entitymanager again

  • [HHH-10835] - The hash code calculation of the EntityKey should also include the hash code of the root entity name.

  • [HHH-10839] - Restore some lost backwards compatibility of the legacy org.hibernate.Query

  • [HHH-10861] - JPA Constructor Expressions fails with nullLiteral passed to constructor

  • [HHH-10883] - Restore the Maven artifact hibernate-java8 as an empty placeholder

Deprecation

  • [HHH-10906] - Remove passing EnversService in AuditStrategy.

下载地址:

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Hibernate ORM 5.2.1 发布
分享
评论(15)
最新评论
0

引用来自“你个大胖子”的评论

貌似5.2后开始废弃HQL和SQL查询专注QBC?

引用来自“魔力猫”的评论

不可能的。Hibernate是JPA实现,JPA标准要求的它必须实现。

引用来自“你个大胖子”的评论

那以前封装的basedao里面的所有hql和sql查询的方法全划掉了?5.1都是好的,升级到5.2就提示废弃

引用来自“魔力猫”的评论

JPA有自己的JPQL(原EQL)。有了统一的标准语法,原来的HQL自然就不继续维护了。

引用来自“空影年华”的评论

连SQL也废弃了?感觉SQL好方便的
不是没了,而是JPA标准的SQL管理方法。原来的管理方法自然废弃。
0

引用来自“你个大胖子”的评论

貌似5.2后开始废弃HQL和SQL查询专注QBC?

引用来自“魔力猫”的评论

不可能的。Hibernate是JPA实现,JPA标准要求的它必须实现。

引用来自“你个大胖子”的评论

那以前封装的basedao里面的所有hql和sql查询的方法全划掉了?5.1都是好的,升级到5.2就提示废弃

引用来自“魔力猫”的评论

JPA有自己的JPQL(原EQL)。有了统一的标准语法,原来的HQL自然就不继续维护了。
连SQL也废弃了?感觉SQL好方便的
0

引用来自“death_rider”的评论

做中小型项目还是挺方便的,大型项目还是得用mybatis
你是没做过真正大的项目吧?
0

引用来自“你个大胖子”的评论

貌似5.2后开始废弃HQL和SQL查询专注QBC?

引用来自“魔力猫”的评论

不可能的。Hibernate是JPA实现,JPA标准要求的它必须实现。

引用来自“你个大胖子”的评论

那以前封装的basedao里面的所有hql和sql查询的方法全划掉了?5.1都是好的,升级到5.2就提示废弃

引用来自“魔力猫”的评论

JPA有自己的JPQL(原EQL)。有了统一的标准语法,原来的HQL自然就不继续维护了。
原来是这样 谢谢
0

引用来自“你个大胖子”的评论

貌似5.2后开始废弃HQL和SQL查询专注QBC?

引用来自“魔力猫”的评论

不可能的。Hibernate是JPA实现,JPA标准要求的它必须实现。

引用来自“你个大胖子”的评论

那以前封装的basedao里面的所有hql和sql查询的方法全划掉了?5.1都是好的,升级到5.2就提示废弃
JPA有自己的JPQL(原EQL)。有了统一的标准语法,原来的HQL自然就不继续维护了。
0

引用来自“你个大胖子”的评论

貌似5.2后开始废弃HQL和SQL查询专注QBC?

引用来自“魔力猫”的评论

不可能的。Hibernate是JPA实现,JPA标准要求的它必须实现。
那以前封装的basedao里面的所有hql和sql查询的方法全划掉了?5.1都是好的,升级到5.2就提示废弃
0

引用来自“你个大胖子”的评论

貌似5.2后开始废弃HQL和SQL查询专注QBC?
不可能的。Hibernate是JPA实现,JPA标准要求的它必须实现。
0
貌似5.2后开始废弃HQL和SQL查询专注QBC?
0

引用来自“death_rider”的评论

做中小型项目还是挺方便的,大型项目还是得用mybatis

引用来自“OutMan/pch”的评论

大项目为什么不能用hibenate

引用来自“魔力猫”的评论

人云亦云而已。Hibernate是大型背锅侠之一。另外还有EJB等等,反正项目做不好就骂框架。
哈哈,还好没用
0

引用来自“death_rider”的评论

做中小型项目还是挺方便的,大型项目还是得用mybatis

引用来自“OutMan/pch”的评论

大项目为什么不能用hibenate

引用来自“魔力猫”的评论

人云亦云而已。Hibernate是大型背锅侠之一。另外还有EJB等等,反正项目做不好就骂框架。
...........
0

引用来自“death_rider”的评论

做中小型项目还是挺方便的,大型项目还是得用mybatis

引用来自“OutMan/pch”的评论

大项目为什么不能用hibenate
人云亦云而已。Hibernate是大型背锅侠之一。另外还有EJB等等,反正项目做不好就骂框架。
0

引用来自“death_rider”的评论

做中小型项目还是挺方便的,大型项目还是得用mybatis
大项目为什么不能用hibenate
0
大项目没什么不能用hibenate
0
做中小型项目还是挺方便的,大型项目还是得用mybatis
0
我要去学习
顶部