5615 Commits

Author SHA1 Message Date
Sanne Grinovero
84e37c15eb HHH-14332 Make it easier for Quarkus SPI to avoid loading XML related resources 2020-11-17 18:01:31 +00:00
Sanne Grinovero
da8706e5eb HHH-14329 Amend existing DirtyTrackingTest 2020-11-17 16:20:55 +00:00
Christian Beikov
2669848ca4 HHH-14329 consider mutable types always as potentially dirty when using DirtinessTracker 2020-11-17 16:20:48 +00:00
Christian Beikov
5ea0d92c37 HHH-14329 test case showing that DirtinessTracker usage for enhanced entities doesn't respect mutable types 2020-11-17 16:20:43 +00:00
Steve Ebersole
c444d5f9e5 HHH-14325 - Add Query hint for specifying "query spaces" for native queries 2020-11-16 17:10:43 +00:00
Steve Ebersole
49ae7bdff0 HHH-14325 - Add Query hint for specifying "query spaces" for native queries 2020-11-16 17:10:30 +00:00
Sanne Grinovero
fe2230f813 HHH-14276 Amend style and formatting 2020-11-16 12:21:37 +00:00
Christian Beikov
a8fdb4d2d5 HHH-14276 Avoid quoting column name for looking up references during composite identifier second pass 2020-11-16 12:21:31 +00:00
info@kawoolutions.com
44ca255b50 HHH-14276 test case for strange AnnotationException: MapsId in IdClass context 2020-11-16 12:21:25 +00:00
Christian Beikov
9997eb1b1a HHH-14322 Fix HBM many-to-one property ref support 2020-11-16 10:12:52 +00:00
Andrea Boriero
9081a1119e HHH-14257 Add test for issue 2020-11-16 09:27:31 +00:00
Andrea Boriero
21c048bc22 HHH-14257 An Entity A with a map collection having as index an Embeddable with a an association to the Entity A fails with a NPE 2020-11-16 09:27:24 +00:00
Andrea Boriero
36ebf7d383 HHH-14225 CVE-2020-25638 Potential for SQL injection on use_sql_comments logging enabled 2020-11-13 13:30:03 +00:00
Steve Ebersole
61dcb7dcd4 HHH-14312 - entity graph is ignored for 'padded' and 'dynamic' batch style entity loader
- Adjusted multi-loading to use LoadPlans (and apply entity-graphs) as well.
- All of the loaders/builder in `org.hibernate.loader.entity` are now no longer used, superseded by `org.hibernate.loader.entity.plan`.  Removed no longer needed code.
- Adjusted multi-load tests that relied on the actual generated SQL *String* - they now explicitly count the number of parameters and use that for assertions
2020-11-11 16:57:25 +00:00
Steve Ebersole
48527437ef HHH-14312 - entity graph is ignored for 'padded' and 'dynamic' batch style entity loader
- completed fix for HHH-11970
2020-11-11 15:30:36 +00:00
Steve Ebersole
603a393b4e HHH-14312 - entity graph is ignored for 'padded' and 'dynamic' batch style entity loader 2020-11-11 15:30:30 +00:00
Nathan Xu
fc04e0a320 HHH-14312 fix issue entity graph is ignored for 'padded' batch style entity loader 2020-11-11 15:30:25 +00:00
Andrea Boriero
df2bbd75dc HHH-13310 getParameterValue() not working for collections 2020-11-10 19:03:16 +00:00
Andrea Boriero
21b65718ff HHH-13310 Add test for issue 2020-11-10 19:03:07 +00:00
Guillaume Smet
358fc58dc1 HHH-14316 Avoid accessing state in DriverManagerConnectionProviderImpl if null 2020-11-09 15:15:57 +00:00
Christian Beikov
f4633d83af HHH-14279 Fix join ordering issue that happens for entity key joins when using a WITH/ON clause 2020-11-03 11:58:28 +01:00
Laurent Almeras
aae54bc4a8 HHH-14279 Testcase showing key join order is messed up 2020-11-03 11:58:21 +01:00
Sanne Grinovero
7b8092f6a6 Make new EntityLoader buildling methods in AbstractEntityPersister protected for Hibernate Reactive 2020-11-01 22:38:55 +00:00
Sanne Grinovero
7f4373f7b9 HHH-14305 Memory optimisations for ReaderCollector implementations 2020-11-01 22:00:51 +00:00
Sanne Grinovero
7aca99f30d HHH-14305 Memory optimisations for EntityMetamodel 2020-11-01 22:00:49 +00:00
Sanne Grinovero
fe5ba822e7 HHH-14305 Memory optimisations for NamedQueryRepository 2020-11-01 22:00:47 +00:00
Sanne Grinovero
bc0f3d94fe HHH-14305 Memory optimisations for AbstractEntityPersister#uniqueKeyLoaders 2020-11-01 22:00:45 +00:00
Sanne Grinovero
d6108fa1e4 HHH-14305 Memory optimisation for AbstractPropertyMapping#duplicateIncompatiblePaths 2020-11-01 22:00:43 +00:00
Sanne Grinovero
13398a8d4f HHH-14305 Memory optimisations for AbstractManagedType#declaredPluralAttributes 2020-11-01 22:00:42 +00:00
Sanne Grinovero
b927de91ab HHH-14305 Memory optimisation for AbstractEntityPersister#affectingFetchProfileNames 2020-11-01 22:00:40 +00:00
Sanne Grinovero
c7f87b0c2a HHH-14305 Reduce memory consumption of AbstractEntityPersister#attributeDefinitions 2020-11-01 22:00:38 +00:00
Sanne Grinovero
35c7928e76 HHH-14305 Reduce retained memory consumption of SingleTableEntityPersister 2020-11-01 22:00:37 +00:00
Sanne Grinovero
63f1c1b9c6 HHH-14305 Memory savings in SingleTableEntityPersister 2020-11-01 22:00:34 +00:00
Sanne Grinovero
d96d20b63d HHH-14305 Avoid referring to an empty ArrayList for AbstractEntityPersister#lobProperties 2020-11-01 22:00:32 +00:00
Sanne Grinovero
cb849d5acd HHH-14305 Introduce new method in CollectionsHelper to reduce size of long lived collections 2020-11-01 22:00:29 +00:00
Sanne Grinovero
eb19967260 HHH-14305 Remove unused logger 2020-11-01 22:00:26 +00:00
Sanne Grinovero
71ba924040 HHH-14271 Lazy initialization of UniqueEntityLoader for most LockMode types 2020-11-01 19:31:25 +00:00
Sanne Grinovero
c09b564683 HHH-14304 Replacing eager initialization of LockingStrategy within AbstractEntityPersister
And introducing a new ad-hoc collection LazyIndexedMap, useful to
lazily initialize elements which can be indexed by int, such
as the ordinal of enums.
2020-11-01 19:31:05 +00:00
Sanne Grinovero
1e51056afc HHH-14298 Evolve HCANNHelper to maintain compatibility with 5.1.0 while benefitting from 5.1.1 features 2020-10-30 14:20:23 +00:00
Sanne Grinovero
8af080721a HHH-14298 Make our JPAMetadataProvider implementation compatible with HCANN 5.1.0 as well 2020-10-30 14:20:19 +00:00
Sanne Grinovero
8ddd61701f Revert "HHH-14290 Adjust HCANNHelper to benefit from HCANN-99"
This reverts commit 5744d546ac6741374402b34cea929d9a136c5838.
2020-10-30 11:06:06 +00:00
Sanne Grinovero
c1f0c9e210 HHH-14293 Reset the ReflectionManager state after SessionFactory is initialized 2020-10-28 16:37:46 +00:00
Sanne Grinovero
a4243bd168 HHH-14293 JPAMetadataProvider needs to be able to reset its internal caches 2020-10-28 16:37:40 +00:00
Sanne Grinovero
f43e0eb299 HHH-14292 Avoid defensive copy for keywords set in NormalizingIdentifierHelperImpl 2020-10-28 15:50:40 +00:00
Sanne Grinovero
9ed86fd363 HHH-14290 Remove capability of loading classes by name from HCANN 2020-10-27 09:03:12 +00:00
Sanne Grinovero
5744d546ac HHH-14290 Adjust HCANNHelper to benefit from HCANN-99 2020-10-27 08:18:14 +00:00
Sanne Grinovero
6745dff121 HHH-14289 Detection of JDBC support for RefCursors was returning false even for Oracle JDBC drivers supporting it 2020-10-26 18:22:36 +00:00
Sanne Grinovero
3c36bbaf7a HHH-10715 Deleting more dead code 2020-10-25 21:45:09 +00:00
Sanne Grinovero
f394194032 HHH-10715 Remove unused logger instance 2020-10-25 21:45:09 +00:00
Sanne Grinovero
20ae8d1ee0 HHH-10715 More static and final keywords missing 2020-10-25 21:45:09 +00:00