15529 Commits

Author SHA1 Message Date
Sanne Grinovero
ae37509b11 HHH-16099 Introduce three-state handling for dirty levels to avoid excessive warnings
We now differentiate between an Attribute which has been marked as "real dirty" from
one which needs to be "treated like dirty", so to not bother end users with a WARN
log when a non-updateable property had not been updated explicitly by them.
2023-01-26 08:35:26 +00:00
Yoann Rodière
4fc7293c66
HHH-16069 Fix typo in migration guide 2023-01-26 09:22:49 +01:00
marko-bekhta
df1ebfe32a Remove the support for HibernateOrmConfiguration annotation when collecting config properties 2023-01-26 00:43:38 -06:00
marko-bekhta
d770ff1597 Remove the notion of API/SPI when collecting properties 2023-01-26 00:43:38 -06:00
marko-bekhta
8562e4b947 Use -proc:only inside of task so that additional compilation is not performed 2023-01-26 00:43:38 -06:00
marko-bekhta
e2640fc192 Remove API/SPI grouping into different files 2023-01-26 00:43:38 -06:00
marko-bekhta
9f3a3520af Remove default value extraction 2023-01-26 00:43:38 -06:00
marko-bekhta
8fa8b23d63 Add tasks to process sources and collect config properties 2023-01-26 00:43:38 -06:00
Steve Ebersole
e27dc5bc47 HHH-16103 - MERGE for optional table updates on SQL Server 2023-01-26 00:41:58 -06:00
Steve Ebersole
5525b8d9b7 HHH-16103 - MERGE for optional table updates on SQL Server 2023-01-26 00:41:58 -06:00
Steve Ebersole
375f6b5f14 HHH-16069 - Skip CDI for Hibernate extensions by default 2023-01-26 00:29:24 -06:00
Steve Ebersole
a742f5e988 HHH-16069 - Skip CDI for Hibernate extensions by default 2023-01-26 00:29:24 -06:00
Sanne Grinovero
9e033c8aea HHH-16099 Minor refactoring, extract local constants in UpdateCoordinatorStandard 2023-01-25 21:52:21 +00:00
Gavin
e00bdc7cb2 fix typo in jdoc 2023-01-25 22:04:03 +01:00
Sanne Grinovero
0b5cb6c649 HHH-16090 BasicResultAssembler logging optimisations 2023-01-25 17:57:26 +00:00
Christian Beikov
033eeb7241 Make session part of JdbcValueBindings 2023-01-25 18:15:11 +01:00
Christian Beikov
e841b0aaae Get rid of some capturing lambdas 2023-01-25 18:15:11 +01:00
Steve Ebersole
420e561f21 HHH-16099 - Log about immutable properties only if dirty on update 2023-01-25 11:00:12 -06:00
Marco Belladelli
eca3ff13bd HHH-16062 Apply settings and hints to criteria queries 2023-01-25 17:52:33 +01:00
Marco Belladelli
136169d43a HHH-16062 Add test for issue 2023-01-25 17:52:33 +01:00
Yoann Rodière
528d897c4d HHH-16085 Test mapping arrays with @JdbcTypeCode(Type.VARBINARY)
This is useful to revert to pre-6.1 behavior for array mapping in particular.
2023-01-25 17:47:30 +01:00
Christian Beikov
e464f53df8 Fix compile error 2023-01-25 17:43:52 +01:00
Andrea Boriero
49779ed4dc HHH-16005 Add test for issue 2023-01-25 17:13:40 +01:00
Andrea Boriero
f15d6ee5fb HHH-16025 Using BatchEntitySelectFetchInitializer with caching leads to caching wrong values 2023-01-25 17:05:35 +01:00
Andrea Boriero
ac0a27eca2 HHH-16025 Add test for issue 2023-01-25 17:05:35 +01:00
Andrea Boriero
b033b88472 HHH-15921 @BatchSize and @IdClass on join column throws exception 2023-01-25 17:05:35 +01:00
Andrea Boriero
dbaca049c8 HHH-16039 Add test for issue 2023-01-25 17:05:35 +01:00
Andrea Boriero
8d0729f543 HHH-15921 Add test for issue 2023-01-25 17:05:35 +01:00
Marco Belladelli
f9b169242a HHH-16043 Correct single ID and init empty for batch collection loading 2023-01-25 17:01:31 +01:00
Marco Belladelli
17506b7f80 HHH-16043 Add test for issue 2023-01-25 17:01:31 +01:00
Sanne Grinovero
2d7774b9ab HHH-16091 Optimize also AbstractStandardBasicType#compare and #fromString 2023-01-25 14:21:29 +00:00
Sanne Grinovero
12c7252c59 HHH-16091 Make AbstractStandardBasicType#getMutabilityPlan return a constant too 2023-01-25 14:21:29 +00:00
Sanne Grinovero
b77bbf0650 HHH-16091 Make AbstractStandardBasicType#getReturnedClass return a constant 2023-01-25 14:21:29 +00:00
Sanne Grinovero
12abcc4c60 HHH-16091 AbstractStandardBasicType to avoid megamorphic dispatch when dealing with AbstractClassJavaType 2023-01-25 14:21:29 +00:00
Christian Beikov
567697db55 Update Mockito to 5.0.0 2023-01-25 13:03:21 +01:00
Sanne Grinovero
1652102c1a HHH-16092 Trim allocation size of CacheKeyImplementation, avoid Objects::deepEquals 2023-01-25 12:00:38 +00:00
Gavin
4ca5902672 mention the query result set cache in the javadoc 2023-01-25 09:52:37 +01:00
Christian Beikov
a0d162cde8 Fix test failure by respecting custom insert/delete SQL for secondary tables 2023-01-25 09:32:16 +01:00
Gavin
0bb04b1021 HHH-16089 allow @Synchronize for a collection 2023-01-25 00:19:42 +01:00
Karel Maesen
803a9a0ffb Update memory config for CockroachDB configuration
With the previous setting the cockroach process is killed by the OOM-killer.
2023-01-24 21:24:28 +00:00
Steve Ebersole
2a24876f69 HHH-16084 - MERGE (upsert) for optional table updates - H2 2023-01-24 10:00:54 -06:00
Steve Ebersole
21b7745768 HHH-16084 - MERGE (upsert) for optional table updates - H2 2023-01-24 10:00:54 -06:00
Marco Belladelli
998f2ef21f HHH-15933 Better property owner check + new test case for JoinedSubclass 2023-01-24 14:16:08 +01:00
Marco Belladelli
49690bf4ce HHH-15933 Table reference by name and change referenced property owner 2023-01-24 14:16:08 +01:00
Andrea Boriero
a4e2fe57cc HHH-16033 Many-to-Many inverse mapping referencing the same class uses pk instead of fk field for removal 2023-01-24 10:49:31 +01:00
William Burns
ea8b0649a2 HHH-16033 Many-to-Many inverse mapping referencing the same class uses pk instead of fk field for removal
* Just reproducer for issue
2023-01-24 10:49:31 +01:00
Andrea Boriero
1638c074d5 HHH-16031 @ManyToMany with @JoinTable(inverseColumn = ...) and SortedSet may results in data loss 2023-01-24 10:49:31 +01:00
Andrea Boriero
f4aec1cd0a HHH-16031 @ManyToMany with @JoinTable(inverseColumn = ...) and SortedSet may results in data loss 2023-01-24 10:49:31 +01:00
Yoann Rodière
241fe54d0a HHH-16031 Test @ManyToMany + @JoinTable(inverseColumn) on a SortedSet 2023-01-24 10:49:31 +01:00
Andrea Boriero
0983b47252 HHH-16049 Setting a property to its current value with bytecode enhancement enabled results in unnecessary SQL Update in some (many) cases 2023-01-24 10:40:52 +01:00