Commit Graph

7214 Commits

Author SHA1 Message Date
Gail Badner 1ee2e9d1f5 HHH-12075 : Update test to work in 5.1 2018-01-09 22:20:49 -08:00
Gail Badner ea497561c3 HHH-12075 : test case
(cherry picked from commit 489bdcd6fa)
2018-01-09 22:20:49 -08:00
Gail Badner d3df0d18bc HHH-11364 : Fix test case to work on pre-5.2 versions 2018-01-09 22:05:44 -08:00
Chris Cranford e0d4e1f54b HHH-11364 - Checkstyle fixups.
(cherry picked from commit f01055985e)
2018-01-09 22:05:44 -08:00
CK Guven 9013768a18 HHH-11364 add null check for properties in middle embeddable components
(cherry picked from commit 883799082c)
2018-01-09 22:05:44 -08:00
Gail Badner 9e421ca5aa HHH-11970 : Fixes to work in pre-5.2 2018-01-09 21:50:24 -08:00
Gail Badner 49b638a4d0 HHH-11970 : @NotFound(IGNORE) and @BatchSize
(cherry picked from commit 86f310e4cb)
2018-01-09 21:50:24 -08:00
Gail Badner cb62334f46 HHH-11970 : @NotFound(IGNORE) and @BatchSize
(cherry picked from commit 19087d9f15)
2018-01-09 21:50:24 -08:00
Gail Badner f1b6bec6ad HHH-11957 : Fix to work with jdk 1.6 source
(cherry picked from commit 2287bdd5e0)
2018-01-09 21:31:22 -08:00
Gail Badner 79f3595a56 HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect
(cherry picked from commit 80937ee583)
2018-01-09 21:31:22 -08:00
Gail Badner 09a278a1b9 HHH-11957 : Fix test case to work pre-5.2
(cherry picked from commit 57e63081b7)
2018-01-09 21:31:22 -08:00
Gail Badner a983c9c37b HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect
(cherry picked from commit 385a18b11b)
2018-01-09 21:31:22 -08:00
Gail Badner 659024713b HHH-11915 - DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus
(cherry picked from commit bb905dcb00)
2018-01-09 21:13:53 -08:00
Andrea Boriero a5839cea07 HHH-11915 - DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus
(cherry picked from commit 65b5e6445b)
2018-01-09 21:13:53 -08:00
Vlad Mihalcea 21d60eb008 HHH-11377 - ReflectHelper#getConstantValue should consider digits as well
(cherry picked from commit 491d7341ad)
2018-01-09 21:01:29 -08:00
Gail Badner 9e6585b804 HHH-4959 : change default for hibernate.query.conventional_java_constants to false 2018-01-09 20:53:43 -08:00
Vlad Mihalcea d0059cdef9 HHH-4959 - Concurrent HQL parsing blocks on ReflectHelper.classForName()
Exclude JPQL and Criteria API aliases when searching for a Java constant value

(cherry picked from commit 0bd7b8eac1)
2018-01-09 15:23:23 -08:00
Andrea Boriero cf88522a31 HHH-11808 - Update migration guide and documentation 2017-09-07 22:42:57 -07:00
Gail Badner 2b809c475c 5.1.10 2017-08-18 15:05:48 -07:00
Gail Badner 2360c68310 5.1.10 2017-08-18 14:35:59 -07:00
Gail Badner 5720cdd996 HHH-11935 : Log a warning and update documentation that enabling "empty" composites is an experimental feature
(cherry picked from commit 407360d957)
2017-08-18 13:33:18 -07:00
Gail Badner 845f75c4f3 HHH-10984 HHH-10617 - fix to comply with java 1.6 source 2017-08-17 23:24:56 -07:00
Gail Badner 8c71eefcf3 HHH-10984 HHH-10617 - Fix added tests to work on pre-5.2 2017-08-17 23:03:19 -07:00
Steve Ebersole f72cc1c1d4 HHH-10984 - Have multiLoad not return (unflushed) DELETED entities;
HHH-10617 - multiLoad behavior

(cherry picked from commit 72e948514e)
2017-08-17 23:01:53 -07:00
jcibik 1c0a7a6ae6 HHH-11927 - CascadeMergeToChildBeforeParentTest should not assume the persisted entity has the id with a value of 1
(cherry picked from commit 203793be63)
2017-08-16 22:47:40 -07:00
Gail Badner 80c441cbe0 HHH-11905 - AbstractLobTest Fails on Sybase 2017-08-16 22:23:17 -07:00
Gail Badner 013daa2ca9 HHH-11910 : SchemaUpdateTest fails on databases using case-insensitive identifiers
(cherry picked from commit cc342dc072)
2017-08-04 16:51:59 -07:00
Gail Badner 70d3d617ec HHH-11904 - EnumExplicitTypeTest test assert fails on mariadb clusters 2017-08-04 11:53:42 -07:00
Gail Badner fbf2d256f1 5.1.9 2017-07-25 01:51:25 -07:00
Gail Badner bd44fb3569 5.1.9 2017-07-25 01:27:09 -07:00
Gail Badner 792b16de10 HHH-11344 : fix checkstyle failure 2017-07-24 23:55:20 -07:00
Andrea Boriero db6eca861e HHH-11889 - Fix PostgreSQL failing tests
(cherry picked from commit f201d2829e)
2017-07-24 22:23:59 -07:00
Radim Vansa e336dc9c9d HHH-11350 Intermittent failure in testEvictAll/testRemoveAll 2017-07-19 13:43:09 -07:00
Radim Vansa 91c12a668c HHH-11323 + HHH-11339 : Fix TombstoneTest failure 2017-07-19 13:43:09 -07:00
Radim Vansa 4f4f1073e5 HHH-11381 In nonstrict mode, putFromLoad after evict can behave incorrectly
* piggybacking minor improvements for size command, too

(cherry picked from commit 3d712b0a6e)
2017-07-19 13:43:09 -07:00
Radim Vansa f87a66e32d HHH-11381 : Run CorrectnessTestCase in nonstrict mode
* the test was not running in nonstrict-read-write mode but in read-write mode instead
* for collections, we have to fallback to read-write mode
* there are expected failures in nonstrict mode, as the test does not allow stale reads
  (adding a switch to handle these is TODO)

(cherry picked from commit f574325c04)
2017-07-19 13:43:09 -07:00
Radim Vansa 46898c928a HHH-11373 Silence lock acquisition failures on remote nodes
(cherry picked from commit 69ba7a50ce)
2017-07-19 13:43:09 -07:00
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