(cherry picked from commit e54ce7b266)
HHH-11536 - Fix unit tests failing on Oracle
(cherry picked from commit dd895c78b6)
(cherry picked from commit 2857189765)
Add replicating test case
(cherry picked from commit 2a441d7f2d)
HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
Restrict test case for SQL Server only
(cherry picked from commit 22548f1127)
HHH-10183 - Fix tests to work pre-5.2
(cherry picked from commit 29bb4e3b2f)
(cherry picked from commit 36d09411fb)
HHH-11740 : Skip test for H2
(cherry picked from commit 6a0a6d7562)
HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools
- Fix tests on PostgreSQL
(cherry picked from commit 386b04872f)
HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools
- Made test run on H2, Oracle, SQL server, MySQL and PostgreSQL
(cherry picked from commit 733f55f362)
HHH-11740 - Fix test case to avoid pessimistic locking exception
(cherry picked from commit cab613de11)
HHH-11740 : test case
(cherry picked from commit e6573ed623)
(cherry picked from commit 2779ebd8f0)
HHH-11459 : Correct test case to work on pre-5.2 versions
HHH-11459 - Do not fetch a collection on cascade, resolve it instead
(cherry picked from commit 41bd06266d)
HHH-11459 - Always resolve unloaded, lazy collection in enhanced entity when cascading; added comments
(cherry picked from commit 0b6ce73fcc)
HHH-11459 : Add entity names to avoid Oracle test failures
(cherry picked from commit 28f3148f7b)
HHH-11459 : Correct fix to work on pre-5.2 versions
(cherry picked from commit ba86f10378)
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTest.java
(cherry picked from commit 8f495505e5)
HHH-11576 : Correct test case to work on pre-5.2 versions
HHH-11576 - Process unfetched collections on Flushvisitor to determine reachability
(cherry picked from commit a5c7087316)
(cherry picked from commit f20acbb972)
Instead of writing it in the JavaDocs, it's much more appropriate to document this behavior in the User Guide
(cherry picked from commit 5629457aa8)
Conflicts:
documentation/src/main/asciidoc/userguide/chapters/pc/PersistenceContext.adoc
documentation/src/test/java/org/hibernate/userguide/pc/PersistenceContextTest.java
(cherry picked from commit 7541a2d9e2)