Hibernate 5 Changelog
=======================
Note: Please refer to JIRA to learn more about each issue.
Changes in 5.3.7.final (October 16th, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31714/tab/release-report-done
** Bug
* [HHH-12784] - Javassist support broken by HHH-12760
* [HHH-12920] - AbstractCachedDomainDataAccess.clearCache() throws MissingFormatArgumentException at DEBUG level
* [HHH-12934] - Exception handling documentation does not apply only to "Session-per-application anti-pattern"
* [HHH-12935] - Constraint and AuxiliaryDatabaseObject export identifiers are not qualified by schema or catalog
* [HHH-12937] - Where clause for collections of basic, embeddable and "any" elements is ignored when mapped using hbm.xml
* [HHH-12964] - Upgrade to dom4j 2.1.1
* [HHH-13027] - org.hibernate.ejb.HibernatePersistence can no longer be used as a persistence provider name
** Improvement
* [HHH-12961] - The links in the Javadoc of the SAP HANA dialects don't work
* [HHH-13011] - Add option enabling/disabling use of an entity's mapped where-clause when loading collections of that entity
Changes in 5.3.6.final (August 28th, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31704/tab/release-report-done
** Bug
* [HHH-12931] - Revert HHH-12542 as it introduces some issues with the security manager
* [HHH-12932] - Add privileged blocks in ByteBuddyState initialization
Changes in 5.3.5.final (August 14th, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31695/tab/release-report-done
** Bug
* [HHH-12871] - Metamodel contains managed types related to dynamic-map entities that have been excluded.
* [HHH-12875] - Class level where="..." clause in hbm.xml mappings is not enforced on collections of that class
* [HHH-12882] - Where clauses mapped on collections and entities need parentheses when used in conjunction
* [HHH-12890] - Fix link to JPA Metamodel generator documentation
* [HHH-12903] - CommitFlushCollectionTest fails when running on Oracle.
* [HHH-12905] - Passing null as parameter is not allowed even when enablePassingNulls() has been called
* [HHH-12906] - Statistics.getCollectionRoleNames() reports incorrect value
** Task
* [HHH-10782] - Add a comment about what you can expect from a query plan cache cleanup
* [HHH-12898] - Enable integration tests for Oracle Standard Edition Two 12.1.0.2.v12 on the AWS build slaves
* [HHH-12899] - Enable integration tests for MS SQL Server on the AWS build slaves
* [HHH-12901] - Enable loading of additional JDBC drivers from a local path
* [HHH-12909] - Upgrade ByteBuddy to 1.8.17
** Improvement
* [HHH-12196] - Sybase Dialect not supporting max result - paging
* [HHH-12361] - In the User Guide, omit constructors and equals/hashCode for brevity
* [HHH-12608] - Add the ST_DWithin() function in DB2 Spatial Dialect
* [HHH-12892] - Fix spelling issues in the User Guide
* [HHH-12907] - Avoid garbage collection pressure when creating proxies with ByteBuddy
Changes in 5.3.4.final (August 2nd, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31688/tab/release-report-done
** Bug
* [HHH-10603] - ORA-00932: inconsistent datatypes: expected - got BLOB after HHH-10345 with Oracle12cDialect
* [HHH-12492] - JPA delete query generated has missing table alias and thus incorrect semantics
* [HHH-12834] - org.hibernate.envers.test.integration.collection.StringMapNationalizedLobTest fails with Sybase
* [HHH-12835] - Wrong assertion in BatchFetchQueueHelper
* [HHH-12846] - Merge cascade of collection fails when orphan removal enabled with flush mode commit
* [HHH-12847] - NullPointerException in FetchStyleLoadPlanBuildingAssociationVisitationStrategy::adjustJoinFetchIfNeeded
* [HHH-12848] - UpgradeSkipLockedTest, PessimisticReadSkipLockedTest and OracleFollowOnLockingTest fail with Oracle12c
* [HHH-12849] - QuotedIdentifierTest fails with ORA-04043 on Oracle12c
* [HHH-12851] - ConverterTest fails with SQL Server depending on collation
* [HHH-12861] - SchemaUpdate doesn't work with Sybase
* [HHH-12863] - SchemaUpdateTest should be skipped with Sybase
* [HHH-12868] - Using CacheConcurrencyStrategy.NONE leads to a NPE when trying to load an entity
* [HHH-12869] - SingletonEhcacheRegionFactory initialization fails
* [HHH-12880] - LockModeTest hangs indefinitely with Sybase due to HHH-12847
** New Feature
* [HHH-12857] - Support the security manager with ByteBuddy as bytecode provider
** Task
* [HHH-12730] - User types built using 5.1 are not binary compatible with 5.3
* [HHH-12792] - Document binary incompatibility of persisters and tuplizers
* [HHH-12877] - Upgrade ByteBuddy to 1.8.15
Changes in 5.3.3.final (July 23, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31687/tab/release-report-done
** Bug
* [HHH-7686] - org.hibernate.proxy.map.MapProxy loses all important state on serialization
* [HHH-8805] - [SchemaUpdate] javax.persistence.ForeignKey doesn't respect ConstraintMode.NO_CONSTRAINT
* [HHH-12200] - Docs mention outdated APIs
* [HHH-12542] - WildFly integration test, HibernateNativeAPINaturalIdTestCase, fails when security manager is enabled
* [HHH-12666] - Add an option for restoring 5.1 native exception handling
* [HHH-12695] - Incompatibility in return value for org.hibernate.procedure.ParameterRegistration.getType() 5.1 vs 5.3
* [HHH-12718] - Entity changes in @PreUpdate callback are not persisted when lazy loading is active for more than one field
* [HHH-12720] - LazyInitializationException with hibernate.enable_lazy_load_no_trans
* [HHH-12740] - Subselect fetching doesn't work when multiLoad was used
* [HHH-12753] - org.hibernate.envers.test.integration.collection.StringMapNationalizedLobTest fails with DB2
* [HHH-12768] - TimeAndTimestampTest fails with SQL Server and MYSQL
* [HHH-12771] - Caused by: java.lang.UnsupportedOperationException: Cache provider [org.hibernate.cache.ehcache.internal.EhcacheRegionFactory@3271ec2a] does not support `transactional` access
* [HHH-12776] - NullPointerException when executing native query on an Audited Entity
* [HHH-12779] - Revert HHH-12670 - Allows native SQL queries that take a given resultClass to map the result set to the required type
* [HHH-12781] - Update Javassist dependency to 3.23.1
* [HHH-12786] - Deleting an entity leads to NullPointerException in ByteBuddy proxy
* [HHH-12787] - SessionJdbcBatchTest hangs with DB2
* [HHH-12791] - ComponentTuplizer generates a LOT of proxy classes when using Bytebuddy as bytecode provider
* [HHH-12795] - Setting FlushMode to manual for a @NamedQuery is ignored
* [HHH-12797] - Fix cache modes relationships table layout in the documentation
* [HHH-12798] - Nested spatial functions are not rendered correctly on SAP HANA
* [HHH-12800] - TuplizerInstantiatesByteBuddySubclassTest uses ByteBuddy operation unsafe with JDK 11
* [HHH-12802] - Hibernate does not throw an exception when more than one entity is loaded with the same ID
* [HHH-12815] - LocalDateCustomSessionLevelTimeZoneTest fails with mysql 5.5 and 5.7
* [HHH-12822] - Skip "case when" tests requiring casts for DB2
* [HHH-128