Commit Graph

10400 Commits

Author SHA1 Message Date
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
Sanne Grinovero cf1b7c3c12 HHH-13452 Missing log level guard on formatting in DefaultPersistEventListener#entityIsDeleted 2019-06-25 20:12:20 +01:00
Sanne Grinovero 3ba72c8b13 HHH-13461 Style and formatting fixes: CollectionEntry 2019-06-25 18:49:01 +01:00
Andrea Boriero 1aa6ce9b12 HHH-13460 - FetchGraphTest is failing on MariaDB 2019-06-25 18:33:09 +01:00
Andrea Boriero cb343567e6 HHH-13459 - Unit test lock up when they run on PostgreSQL 2019-06-25 16:42:47 +01:00
Andrea Boriero beac486533 HHH-13455 - Enabling Enhancement as a Proxy causes IllegalStateException when using Javassist 2019-06-25 13:33:26 +01:00
Andrea Boriero db2e8382d5 HHH-13454 - org.hibernate.orm.test.query.criteria.BasicCriteriaExecutionTests fails on Oracle 2019-06-25 12:13:16 +01:00
Sanne Grinovero 9367f01162 HHH-13451 Logging typo in CascadingActions causing significant allocations 2019-06-23 19:13:13 +01:00
Sanne Grinovero 44c13af23b HHH-13450 Do not compute the full role name of a collection unless necessary 2019-06-23 19:08:12 +01:00
Andrea Boriero 3cc9e8f284 HHH-13442 - CollectionType#getCollection() method improvements 2019-06-21 11:10:17 +01:00
Sanne Grinovero 417a982b7b HHH-13448 Avoid retrieving PRE_LOAD and POST_LOAD Event listeners within the inner loops of TwoPhaseLoad 2019-06-20 23:38:58 +01:00
Sanne Grinovero d1a617a0dc HHH-13448 Optimise implementation of TwoPhaseLoad#doInitializeEntity 2019-06-20 23:38:49 +01:00
Sanne Grinovero 33f02f411f HHH-13447 Minimize number of EventListenerRegistry lookups within a Session use 2019-06-20 22:53:48 +01:00
Sanne Grinovero e476a99250 HHH-13443 Remove unnecessary calls to StringHelper 2019-06-20 22:25:06 +01:00
MD. Mohiuddin Ahmed 084c91c3d0 HHH-13443 Build failing to parse *.properties file attributes containing trailing space 2019-06-20 21:41:10 +01:00
Yoann Rodière e7cefd8ddd HHH-13409 Rework AggregatedServiceLoader to minimize the risk of regression
In particular:

* Keep the old behavior when retrieving services on JDK8
* On JDK9+, query the AggregatedClassLoader first (before individual
class loaders) when retrieving services.
* On JDK9+, use ServiceLoader.Provider to avoid instantiating services
a second time if we know we already instantiated them with another class
loader.
2019-06-20 21:07:03 +01:00
Yoann Rodière 9b34fc69a3 HHH-13409 Make AggregatedServiceLoader compatible with the module path (JDK9+) 2019-06-20 21:07:03 +01:00
Yoann Rodière fc52db5cb4 HHH-13409 Move aggregated service loading to a dedicated component
So that we can provide a different implementation for Java 9+.
2019-06-20 21:07:03 +01:00
Yoann Rodière b7e5106358 HHH-13409 Remove unnecessary "public" keywords in ClassLoaderService 2019-06-20 21:07:03 +01:00
Yoann Rodière d6cb72ee0d HHH-13409 Add integration tests for running Hibernate ORM in the module path in Java 11+ 2019-06-20 21:07:03 +01:00
Yoann Rodière 6b199d2e52 HHH-13154 Add support for JPA criteria on stateless sessions 2019-06-20 13:13:17 +02:00
Yoann Rodière fd1963a6a2 HHH-13154 Backport BasicCriteriaExecutionTests from ORM 6 2019-06-20 13:13:17 +02:00
Sanne Grinovero ae1016a1c4 HHH-13444 Remove ignored EntityMode field from CollectionKey 2019-06-19 21:49:40 +01:00
Andrea Boriero 7f326b163b HHH-13442 - CollectionType#getCollection() method improvements 2019-06-19 16:00:24 +01:00
Andrea Boriero e8993eb688 HHH-11147 - Fix Oracle failing test 2019-06-17 13:18:19 +01:00