5188 Commits

Author SHA1 Message Date
Gail Badner
f59fe419a5 HHH-13492 : test cases 2019-07-24 14:42:07 -07:00
Yoann Rodière
0f4c7ec0f2 HHH-13357 Fix OffsetDateTime ending up with a different offset than the JVM default when loading from a Timestamp
This bug only affects users that override the type descriptor for
OffsetDateTime, and only affects reading.

Since I had to change how we extract the local time from the timestamp,
I also took this opportunity to apply the fix for HHH-13266,
which should make data loading more resilient when databases contain
weird values representing time, like 1650-04-15T14:45:49 or
0000-00-00T14:45:49.
2019-07-24 12:43:29 -07:00
Gail Badner
352b029404 Revert "HHH-13266 HHH-13357 : Skip OffsetTimeTest#nativeWriteThenRead and #writeThenRead in some cases due to HHH-13357"
This reverts commit b7b8f44298191db050f12819ca0594a30124df75.
2019-07-24 12:43:29 -07:00
Gail Badner
18f9c142e3 HHH-13424 : Table nullability should not depend on JpaCompliance.isJpaCacheComplianceEnabled() 2019-07-23 12:03:46 -07:00
Gail Badner
ea761ec439 HHH-13424 : test cases 2019-07-23 12:03:46 -07:00
Gail Badner
fa2f03593a HHH-11032 : performance improvements of PersistentBag.equalsSnapshot 2019-07-22 18:38:04 +01:00
Gail Badner
f096445ccc HHH-11032 performance improvements of PersistentBag.equalsSnapshot 2019-07-22 18:38:04 +01:00
Filip Nguyen
4c2a43b86f HHH-11032 performance improvements of PersistentBag.equalsSnapshot 2019-07-22 18:38:04 +01:00
Scott Marlow
c581dba4d7 HHH-13505 : NullPointerException thrown by StatisticsImpl#getCacheRegionStatistics 2019-07-22 10:29:18 -07:00
Sanne Grinovero
09cc94c4d9 HHH-13496 Some missing 'final' modifiers on constants 2019-07-16 09:10:24 +01:00
Sanne Grinovero
f042f8b553 HHH-13496 Formula using unsafe concurrent initialization of its unique identifier 2019-07-16 09:10:24 +01:00
Sanne Grinovero
a76c04783e HHH-13496 Dubious putIfAbsent usages 2019-07-16 09:10:24 +01:00
Sanne Grinovero
fb0da1640b HHH-13496 Shouldn't use the String constructor 2019-07-16 09:10:24 +01:00
Sanne Grinovero
f2215dab47 HHH-13496 Excessive relyiance on auto-boxing 2019-07-16 09:10:24 +01:00
Sanne Grinovero
433a7904c1 HHH-13496 Loop optimisations 2019-07-16 09:10:24 +01:00
Sanne Grinovero
b2eaf4e88d HHH-13496 Do not use toString on arrays when formatting error messages 2019-07-16 09:10:24 +01:00
Sanne Grinovero
0cccf74478 HHH-13496 Map sizing optimisations 2019-07-16 09:10:24 +01:00
Sanne Grinovero
3b0d7d67b1 HHH-13496 Remove redundant cases of throws 2019-07-16 09:10:24 +01:00
Sanne Grinovero
70d33e0c6b HHH-13496 Pre-compile and reuse regular expressions 2019-07-16 09:10:24 +01:00
Sanne Grinovero
bfc66ec356 HHH-13496 Constants not declared static 2019-07-16 09:10:24 +01:00
Sanne Grinovero
d0bd04b6d3 HHH-13496 Prefer #addAll method usage rather than looping 2019-07-16 09:10:24 +01:00
Sanne Grinovero
91f4ddb3ec HHH-13496 Empty string processing 2019-07-16 09:10:24 +01:00
Sanne Grinovero
96129e58de HHH-13496 Declare single char strings as chars 2019-07-16 09:10:24 +01:00
Sanne Grinovero
3d69df1ebf HHH-13496 Keyset iteration optimisations on Session opening properties 2019-07-16 09:10:24 +01:00
Sanne Grinovero
9c19bbd611 HHH-13496 Refactor entrySet iterators 2019-07-16 09:10:24 +01:00
Sanne Grinovero
cdcd6bfe76 HHH-13496 Review string appending styles 2019-07-16 09:10:24 +01:00
Sanne Grinovero
9196a4e01e HHH-13496 Prefer singletonList when possible 2019-07-12 12:37:59 +01:00
Sanne Grinovero
99ae7c94e3 HHH-13496 Extract repeated block from loop 2019-07-12 12:37:59 +01:00
Sanne Grinovero
f8bd799544 HHH-13496 Make inner classes 'static' when possible 2019-07-12 12:37:59 +01:00
Sanne Grinovero
881eec83fe HHH-13496 Removing duplicates from constant Set declarations 2019-07-12 12:37:59 +01:00
Sanne Grinovero
26fafc0098 HHH-13496 Remove unused collection from EntityMetamodel 2019-07-12 12:37:59 +01:00
Sanne Grinovero
75fb7915f1 HHH-13496 Remove unused map of Property Names from AbstractCollectionPersister 2019-07-12 12:37:59 +01:00
Sanne Grinovero
bbfad943a0 HHH-13496 ManagedFlushChecker and AfterCompletionAction fields are unused in SessionImpl 2019-07-12 12:37:59 +01:00
Sanne Grinovero
0b67ac0d0b HHH-13496 Remove pointless variable initializers 2019-07-12 12:37:59 +01:00
Sanne Grinovero
f41b11ad3f HHH-13496 Identified some String appending in loops 2019-07-12 12:37:59 +01:00
Sanne Grinovero
35b67bd00e HHH-13496 Some collection constructors could benefit from size hinting 2019-07-12 12:37:59 +01:00
Sanne Grinovero
18e8c04d4d HHH-13496 Remove unused star import 2019-07-12 12:37:59 +01:00
Sanne Grinovero
e636eaf990 HHH-13496 Some formatting fixes 2019-07-12 12:37:59 +01:00
Sanne Grinovero
dd7d798d77 HHH-13496 Move two instance fields to local fields in SessionImpl 2019-07-12 12:37:59 +01:00
Sanne Grinovero
6c44ef12e6 HHH-13496 Identified and simplified some unnecessary repetition of getter invocations 2019-07-12 12:37:59 +01:00
Sanne Grinovero
e7165f2d43 HHH-13496 Remove unused field typeScope from many CollectionType classes 2019-07-12 12:37:59 +01:00
Sanne Grinovero
6a4ede4ec2 HHH-13496 Remove redundant logger level check 2019-07-12 12:37:59 +01:00
Sanne Grinovero
0776ce1154 HHH-13496 Identify and remove some dead code 2019-07-12 12:37:59 +01:00
Sanne Grinovero
ee63e49011 HHH-13226 Log a warning in case of inconsistent configuration properties 2019-07-12 11:05:50 +01:00
Sanne Grinovero
d18b38c504 HHH-13226 Avoid changing existing changelog and complete the backwards compatibility work 2019-07-12 10:55:12 +01:00
asutosh936
74b4c97552 HHH-13226 : Corrected Typo 2019-07-12 10:33:47 +01:00
Sanne Grinovero
b9707c7df3 HHH-13303 Fix formatting and add proper logger guard 2019-07-11 21:12:44 +01:00
Malcolm Taylor
4d301b1726 HHH-13303 Fix error message 2019-07-11 21:12:35 +01:00
Malcolm Taylor
d2af672ca8 HHH-13303 Fix some LGTM alerts 2019-07-11 21:12:19 +01:00
Sanne Grinovero
0d04397109 HHH-13495 Deprecate singleton access to NationalizedTypeMappings 2019-07-10 19:12:31 +01:00