Commit Graph

9724 Commits

Author SHA1 Message Date
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
Sanne Grinovero fafe8b5ba0 HHH-13495 Do not use BoundedConcurrentHashMap for NationalizedTypeMappings 2019-07-10 19:12:28 +01:00
Sanne Grinovero e5a3667fb5 HHH-13494 Deprecate singleton access in favour of static helpers 2019-07-10 18:59:00 +01:00
Sanne Grinovero 1ed8f7e626 HHH-13494 LobTypeMappings should not use a Bounded ConcurrentHashmap 2019-07-10 18:59:00 +01:00
Sanne Grinovero 8727072cdc HHH-13478 Make CascadeStyles a final class 2019-07-02 13:16:12 +01:00
Sanne Grinovero 304a34f6d8 HHH-13478 Micro optimisations in DefaultLoadEventListener 2019-07-02 13:16:04 +01:00
Sanne Grinovero 035657c9ec HHH-13478 BytecodeEnhancementMetadataPojoImpl : Micro optimisations 2019-07-02 13:15:44 +01:00
Sanne Grinovero baf781f05e HHH-13478 Code style fixes in LoadEvent 2019-07-02 13:15:30 +01:00
Sanne Grinovero 0d1cd35e81 HHH-13478 Avoiding some duplicate getter executions in DynamicBatchingEntityLoaderBuilder 2019-07-02 13:15:20 +01:00
Sanne Grinovero fe6967be46 HHH-13478 Minor dead code cleanup in StatefulPersistenceContext 2019-07-02 13:15:10 +01:00
Sanne Grinovero 3c5f3dddd0 HHH-13478 AbstractEntityTuplizer: loop extraction and code cleanup 2019-07-02 13:14:49 +01:00
Sanne Grinovero 6e1a84b05d HHH-13477 Make heavily invoked method final: EventListenerGroupImpl#listeners() 2019-07-02 12:41:12 +01:00
Sanne Grinovero e532820240 HHH-13476 Micro-optimisations of TwoPhaseLoad#getOverridingEager 2019-07-02 11:06:16 +01:00
Sanne Grinovero e46287438b HHH-13475 SessionImpl#applyQuerySettingsAndHints should not rely on defensive copies to just read properties 2019-07-02 10:29:47 +01:00
Sanne Grinovero 7e9471582a HHH-13448 Another inner loop retrieving PRE_LOAD listenerd in AbstractRowReader 2019-07-01 19:50:40 +01:00
Gail Badner 1371958357 HHH-11147 Add tests for using enhanced proxies with @NotFound and batch fetches 2019-06-28 12:31:35 +01:00
Andrea Boriero beb4c3891c HHH-11147 Fix initializing an entity that does not exist 2019-06-28 12:31:33 +01:00
Gail Badner 0bc1d5a88c HHH-11147 Add failing test for initializing an entity that does not exist 2019-06-28 12:31:30 +01:00
Sanne Grinovero 2e81c32265 HHH-13465 Allow inlined access to the PersistenceContext for internal methods 2019-06-28 12:00:39 +01:00
Sanne Grinovero 65d542f3c9 HHH-13471 Avoid invoking delayedAfterCompletion() multiple times from the same SessionImpl method 2019-06-28 11:12:47 +01:00
Sanne Grinovero da8c501407 HHH-13462 Introduce a fastpath for SessionImpl#fireLoad to be used by internal loops 2019-06-28 11:12:46 +01:00
Sanne Grinovero 467f8a2a00 HHH-13458 Update Hibernate's custom IdentityMap to better match its use 2019-06-28 10:08:56 +01:00
Gail Badner 668253b364 HHH-11147 - Add back assertions to BatchFetchProxyTest checking that batches are
initialized as expected. Also add a test that ensures that entities
            loaded from a batch can be modified.
2019-06-27 15:47:25 -07:00
Sebastian Nohn 7e71843a50 HHH-13463 - updated plexus-utils to 3.0.24 to avoid being vulnerable to CVE-2017-1000487 2019-06-27 20:06:02 +01:00
Sebastian Nohn c10832a740 HHH-13463 - updated plexus-utils to 3.0.24 to avoid being vulnerable to CVE-2017-1000487 2019-06-27 20:06:02 +01:00
Sanne Grinovero 41f155fcd9 HHH-13467 Make average BatchFetchQueue consume less memory 2019-06-27 19:56:37 +01:00
Sanne Grinovero 6aebd26167 HHH-11147 Avoid allocating a BatchFetchQueue if batching was not enabled 2019-06-27 18:55:58 +01:00
Sanne Grinovero 5d0d134df3 HHH-11147 micro optimisation: avoid looking up the same object multiple times 2019-06-27 15:28:15 +01:00
Steve Ebersole d983e29e87 HHH-11147 - Integrate enhanced-proxy support with BatchFetchQueue 2019-06-27 08:46:16 -05:00
Steve Ebersole b5d845c89d HHH-11147 - Integrate enhanced-proxy support with BatchFetchQueue 2019-06-27 08:32:40 -05:00
Steve Ebersole 409ba5709b HHH-11147 - Integrate enhanced-proxy support with BatchFetchQueue 2019-06-27 08:27:51 -05:00
Yoann Rodière 87bab83361
Fix JavaModulePathIT when testing with javassist 2019-06-26 16:24:39 +02:00
Sanne Grinovero 2ea0505e47 HHH-13453 Optimise CascadingActions for the most likely case 2019-06-25 20:17:33 +01:00