HHH-4459 Query with Composite Primary Key parameter crashes when query
cache is on
HHH-6655 trim function on DB2 is broken
HHH-7683 - Optimize performance of AbstractLazyInitializer.prepareForPossibleSpecialSpecjInitialization()
(cherry picked from commit c9fd71fe579a9827cb4ccaf3a879ce3b8bd3e597)
HHH-7674 DB locks not cleared on
LazyLoadingTest#testLazyCollectionLoadingWithClearedSession
HHH-7640 Improve single node Infinispan 2LC performance

* Use an Infinispan cache to maintain pending puts, which avoids
the need to control it's memory consumption in the critical path
of putFromLoad.
* This cache is shared by all regions, and it's configured with
aggressive expiration settings to avoid piling up pending put
operations.
* Added a 2LC stress test that tests behaivour and performance
of 2LC under multiple situations, such as entity inserts, updates,
find via PK, find via query and deletes.
* Some other minor performance enhancements, such as avoiding
classloader aware cache wrapper if using 2LC locally.
* Remove cache adapter to reduce construction of useless objects.
* Cache flagged caches in order to avoid recomputing decorated
caches all the time, which reduces memory consumption.
* Skip locking for timestamp updates and separate timestamp region
implementations for local vs clustered scenarios.
HHH-7698 - In efficient LOB creations backed by streams
HHH-7698: In efficient LOB creations backed by streams
https://hibernate.onjira.com/browse/HHH-7698
HHH-7693 Use SQLServer2008Dialect for 2012.
HHH-7692 Use Postgres82Dialect for 9 and 9.1.
HHH-7693 Formatting and duplicate code
HHH-7669: JtaTransaction test fails on Oracle RAC
https://hibernate.onjira.com/browse/HHH-7669
HHH-7711 Generate ddl to file even if scriptToConsole and
exportToDatabase are
set to false
HHH-7711 Added test for SchemaExport
HHH-7513 Corrected trace logging for collections using property-refs
HHH-7513 Corrected trace logging for one-to-one cascading
HHH-7359 Corrected trace logging of HibernateProxy objects
HHH-7359 Added a new method to MessageHelper to intelligently handle
property-ref issues in logging.  Rolled it out to as many MessageHelper
users as possible.
HHH-7359 accidentally committed TRACE log levels
HHH-7690 - @EmbeddedId with @ManyToOne inside
HHH-7682 Audit records are not rolled back when transaction is rolled
back