Release Notes - Hibernate ORM - Version 5.4.2 - HTML format

Bug

  • [HHH-13194] - Some methods returning org.hibernate.query.Query are not defined for StatelessSession
  • [HHH-13216] - Criteria query doesn't handle BigDecimal correctly
  • [HHH-13217] - Don't throw exception if both @MappedSuperclass and @Inheritance are used
  • [HHH-13219] - The sentence "The chapter 6 (e.g. Criteria API)" should be "The chapter 6 (i.e., Criteria API)"
  • [HHH-13225] - Fix minor version detection in BasicDialectResolver
  • [HHH-13227] - UnsupportedOperationException when programmatically overriding hibernate.ejb.cfgfile
  • [HHH-13228] - The modification of a @OneToOne with @MapsId property is silently ignored during a merge operation
  • [HHH-13229] - Sequences in MariaDB doesnt work on existing sequence
  • [HHH-13230] - The AvailableSettings.HBM2DDL_HALT_ON_ERROR setting does not accept String values
  • [HHH-13233] - Eager loading via EntityGraph doesn't work with subgraph
  • [HHH-13236] - @Column insertable and updatable on ElementCollection items' fields are ignored when generating statements
  • [HHH-13239] - The query hint javax.persistence.lock.timeout doesn't work correctly on HANA
  • [HHH-13241] - Constraint violation when deleting entites in bi-directional, lazy OneToMany association with bytecode enhancement
  • [HHH-13244] - setting hibernate.jpa.compliance.proxy=true and org.hibernate debug level to DEBUG breaks hibernate
  • [HHH-13256] - Fix the fieldsPreUpdateNeeded property index allocation in AbstractEntityPersister#update
  • [HHH-13262] - javax.persistence.TransactionRequiredException: Executing an update/delete query
  • [HHH-13265] - Remove double semicolon
  • [HHH-13266] - LocalDateTime values are wrong around 1900 (caused by JDK-8061577)
  • [HHH-13269] - Embeddable collection regression due to HHH-11544
  • [HHH-13277] - HibernateMethodLookupDispatcher - Issue with Security Manager
  • [HHH-13281] - java.lang.ClassCastException: org.hibernate.internal.SessionImpl cannot be cast to org.hibernate.ejb.HibernateEntityManager
  • [HHH-13285] - ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory after dom4j update
  • [HHH-13300] - query.getSingleResult() throws org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException
  • [HHH-13309] - Extended bean managers implementing the new interface are not correctly detected
  • [HHH-13324] - NullPointerException if security manager is set after startup
  • [HHH-13326] - Transaction passed to Hibernate Interceptor methods is null when JTA is used

New Feature

  • [HHH-13202] - Add support for PostgreSQL "GENERATED BY DEFAULT AS IDENTITY"

Task

  • [HHH-13232] - Upgrade ByteBuddy to 1.9.8
  • [HHH-13238] - Reuse static logger in QueryTranslatorFactoryInitiator
  • [HHH-13254] - Upgrade Agroal to 1.4
  • [HHH-13258] - ASTQueryTranslatorFactory.createQueryTranslator undocumented Parameter
  • [HHH-13271] - Javadoc build failures on JDK 12
  • [HHH-13272] - Upgrade to Byte Buddy 1.9.10
  • [HHH-13275] - Re-introduce usage of net.bytebuddy.experimental=true when testing on JDK > 11
  • [HHH-13304] - MySQLDialect shouldn't access System Properties
  • [HHH-13305] - Deprecate public static helpers returning the current Dialect
  • [HHH-13306] - Remove verbose logging from the standard ExceptionMapper
  • [HHH-13332] - Upgrade to c3p0 0.9.5.3

Improvement

  • [HHH-6190] - Leverage JmxService to expose management and monitoring capabilities.
  • [HHH-10148] - SQLServer2012SpatialDialect
  • [HHH-13220] - In the ByteBuddy enhancer, avoid creating a PersistentAttributeTransformer if the class is not enhanced
  • [HHH-13257] - Support mysql8 spatial

Patch

  • [HHH-13330] - Minor typo in ManagedBeanRegistryInitiator

The text area below allows the project release notes to be copied to another document.