Commit Graph

7227 Commits

Author SHA1 Message Date
Radim Vansa b0040eb3bb HHH-11372 Do not send RemoveExpiredCommands in repl/dist caches
(cherry picked from commit 1ba6e00e00)
2017-07-19 13:43:09 -07:00
Radim Vansa 4a6c46dd8e HHH-11344 Testsuite speed-up
* reduce number of setups (@Before -> @BeforeClassOnce)
* remove sleeps related to JGroups flush (issue in a 6+ years old version)
* do not create new cache manager in CollectionRegionAccessStrategyTest#doPutFromLoadRemoveDoesNotProduceStaleDataInvalidation
* Share cache manager in some tests
* Replace system time with mocked time service where possible
* Replace sleeps with synchronization
* Disabled ConcurrentWriteTest.testMany (this is a stress test)

(cherry picked from commit a21706bf02)
2017-07-19 13:43:09 -07:00
Radim Vansa 4cc22a679d HHH-11344 : Prevent NPE when running with log on trace level
(cherry picked from commit 4ceb71f08a)
2017-07-19 13:43:09 -07:00
Radim Vansa 1ecc926fa1 HHH-11350 Intermittent failure in EntityCollectionInvalidationTest.testAll
(cherry picked from commit 20daac6ea7)
2017-07-19 13:43:09 -07:00
Radim Vansa 8ca291fe20 HHH-11350 Intermittent failure in testEvictAll/testRemoveAll
(cherry picked from commit 2a4efd46ca)
2017-07-19 13:43:09 -07:00
Radim Vansa f2f4c1a954 HHH-11339 Use UnorderedDistributionInterceptor for async replication
(cherry picked from commit f59807554a)
2017-07-19 13:43:09 -07:00
Radim Vansa 7cf3d2e527 HHH-11323 + HHH-11339
Evict during concurrent update and putFromLoad can result in stale entry in 2LC
PutFromLoads in replicated/distributed caches should propagate asynchronously

It would require additional effort to isolate only changes that fix
HHH-11323 and which just allow async propagation.

(cherry picked from commit 160f5ba863)
2017-07-19 13:43:09 -07:00
Radim Vansa 7b355c8037 HHH-11323 Update CorrectnessTestCase
(cherry picked from commit ba3677b690)
2017-07-19 13:43:09 -07:00
Radim Vansa 40e62aac7b HHH-11320 Disable testContestedPutFromLoad because of short timeout
(cherry picked from commit f4f50aa5c8)
2017-07-19 13:43:09 -07:00
Gail Badner 893a316ccf 5.1.8 2017-06-23 16:36:05 -07:00
Gail Badner 6085d1d9fe 5.1.8 2017-06-23 16:04:00 -07:00
Gail Badner f413732e81 HHH-11832 : ManyToManyWithDynamicFilterTest fails on Sybase due to reserved word
(cherry picked from commit 9584b16089)
2017-06-21 20:28:10 -07:00
Chris Cranford 27982d0c12 HHH-11215 - Fix NullPointerException when collection of embeddables reference an unaudited entity.
(cherry picked from commit b1a9676146)
2017-06-20 17:14:05 -07:00
Chris Cranford 6a45c1ec17 HHH-11215 - Added test case.
(cherry picked from commit 1e030b2dc4)

HHH-11215 : Fix test to work on pre-5.2 branches
2017-06-20 17:14:04 -07:00
Chris Cranford 2eaa5e2492 HHH-11214 - Fix validity audit strategy auditing nested collections with null property values.
(cherry picked from commit af78f17eb8)
2017-06-20 16:12:33 -07:00
Gail Badner 422f8c0de4 HHH-11214 : Fix test to work on pre-5.2 branches 2017-06-20 16:10:55 -07:00
Chris Cranford 9b45536dc1 HHH-11214 - Add test case.
(cherry picked from commit c3c08728bc)
2017-06-20 16:05:51 -07:00
Vlad Mihalcea 16a0f01f00 HHH-11585 - Batch ordering fails for bidirectional one-to-one associations
(cherry picked from commit f90845c30c)

HHH-11585 : Batch ordering fails for bidirectional one-to-one associations

HHH-11585 - Batch ordering fails for bidirectional one-to-one associations

- take into consideration legacy one-to-one mappings with composite ids as well

(cherry picked from commit acae69ffaf)

HHH-11585 : Fix test case to work on pre-5.2 branches

HHH-11585 - Batch ordering fails for bidirectional one-to-one associations
2017-06-16 16:44:13 -07:00
Chris Cranford 820caed4d7 HHH-11502 - Fix NPE.
(cherry picked from commit e77d18c0d1)
2017-06-14 16:21:35 -07:00
Russ Tennant f1fa8bd116 Test case for HHH-11502
(cherry picked from commit 8d726a35b1)
2017-06-14 16:18:56 -07:00
Chris Cranford 79c6c1652c HHH-11205 - Fixed nationalization support when field type is char.
(cherry picked from commit 468ed1b609)
2017-06-14 13:33:46 -07:00
Gail Badner 889dc0c1be HHH-11205 : Fix test to work for pre-5.2 2017-06-14 13:33:46 -07:00
Chris Cranford 39d6fdb0d8 HHH-11205 - Added test case.
(cherry picked from commit 1b8d94ddba)
2017-06-14 13:19:02 -07:00
Gail Badner 473f43cdd5 HHH-11818 : ClassCastException when binding a MaterializedNClobType as NClob
(cherry picked from commit 3f2c36ab69)
2017-06-14 13:15:45 -07:00
Steve Ebersole 8701d1044c HHH-11296 - Incorrect handling of NCLOB streaming
(cherry picked from commit 0ab2992a9a)
2017-06-14 13:15:01 -07:00
Gail Badner 30c0b96c92 HHH-11296 HHH-11818 : Fix test to work for pre-5.2 2017-06-14 13:10:40 -07:00
Gail Badner 4df2559816 HHH-11818 HHH-11296 : Added tests
(cherry picked from commit 515e45e382)
2017-06-14 13:08:34 -07:00
Gail Badner 65df88dfb8 HHH-11133 : Fix test case to work pre-5.2 2017-06-09 15:19:53 -07:00
Chris Cranford 0510ea8954 HHH-11133 - Add discriminator-value attribute support for joined-subclass hbm mapping elements.
(cherry picked from commit 2d03ba9747)
2017-06-09 15:03:20 -07:00
Andrea Boriero 2857189765 HHH-11536 - Fix unit tests failing on Oracle
(cherry picked from commit e54ce7b266)

HHH-11536 - Fix unit tests failing on Oracle

(cherry picked from commit dd895c78b6)
2017-06-08 19:37:33 -07:00
Christian Beikov ee41f4b046 HHH-11450 : Checkstyle fix
(cherry picked from commit 57f156769b)
2017-06-07 20:45:17 -07:00
Gail Badner 10bc06dcc8 HHH-11450 : Fixed test case to work pre-5.2 2017-06-07 16:41:33 -07:00
Christian Beikov de4622f9ad HHH-11450 : Introduced table group joins
(cherry picked from commit 753858ce73)
2017-06-07 16:40:18 -07:00
Christian Beikov 9786a17490 Test and fix for HHH-11401
(cherry picked from commit 349df983f0)
2017-06-07 15:04:48 -07:00
Christian Beikov 1c81196f13 HHH-11230 - Aggregate on (mappedBy) joined column produces invalid query
(cherry picked from commit 080d65de99)
2017-06-07 14:44:06 -07:00
Christian Beikov c30c8d9dd7 HHH-11157 : Fix failing WithClauseTest
(cherry picked from commit 877a05213c)
2017-06-07 14:36:09 -07:00
Christian Beikov 908d0acdd5 HHH-11157 : Add documentation about the property
(cherry picked from commit 4ec71e2621)
2017-06-07 14:35:04 -07:00
Christian Beikov f631cb4da5 HHH-11157 : Add property for disabling subquery join rewrites and handle mysql quoted identifiers
(cherry picked from commit 556aa265c0)
2017-06-07 14:33:38 -07:00
Christian Beikov 4a697148e6 Fixed HHH-11157 and extended identifier handling
(cherry picked from commit 416fe7e6a8)
2017-06-07 14:33:24 -07:00
Christian Beikov 1fdaf71bd3 HHH-9329: Added testcase that demonstrates issue with join table index column usage
(cherry picked from commit 5d6678a414)
2017-06-07 14:31:54 -07:00
Christian Beikov a9923d2be7 Test and fix for HHH-9329
(cherry picked from commit 1d823ceb76)
2017-06-06 21:15:21 -07:00
Andrea Boriero 020c0051ee HHH-10946 - Fix checkstyle failures
(cherry picked from commit 2246e94ded)
2017-06-02 16:28:02 -07:00
Vlad Mihalcea 77f452fad2 HHH-10907 - Fix connection leak problem in hibernate-core tests
(cherry picked from commit f5e10c29eb)
2017-06-02 16:25:18 -07:00
Gail Badner b4016f92f5 HHH-10907 : add missing imports to test 2017-06-02 14:27:56 -07:00
Vlad Mihalcea e45f5c0e65 HHH-10907 - Fix connection leak problem in hibernate-core tests
(cherry picked from commit da9c6e160d)
2017-06-02 14:07:46 -07:00
Gail Badner b5372a1fc5 HHH-10946 : Fix to work pre-5.2 2017-06-02 14:06:32 -07:00
Vlad Mihalcea 92f30081c9 Add missing license headers
(cherry picked from commit 9abe775708)
2017-06-02 11:41:35 -07:00
Vlad Mihalcea 9e2fc16621 HHH-10946 - Add utility to detect connection leaks during testing
(cherry picked from commit 9c74438e99)
2017-06-02 11:41:21 -07:00
Gail Badner d0006afb0e 5.1.7 2017-05-21 22:41:46 -07:00
Gail Badner 3d3f41224e 5.1.7 2017-05-21 22:19:15 -07:00