10345 Commits

Author SHA1 Message Date
Christian Beikov
ac3b5281c3 HHH-17445 Don't force initialization of correlated joined table group 2023-12-01 18:16:48 +01:00
Marco Belladelli
e369015b4d HHH-17384 Fix @NotFound to-one association nullness handling 2023-12-01 18:16:48 +01:00
Steve Ebersole
3e96ddce40 HHH-17143 - More not-found fix ups
https://hibernate.atlassian.net/browse/HHH-17143
2023-12-01 18:16:48 +01:00
Christian Beikov
f7709e7610 HHH-17102 Fix @SqlResultSetMapping issue for joined inheritance entity result 2023-12-01 18:16:48 +01:00
The-Huginn
47e827200e [HHH-17294] DeepCopy non-Embedded JSON or XML JdbcTypCode attribute using FormatMapper 2023-12-01 18:16:48 +01:00
Leandro Taveras
2e0f0c5b58 [HHH-17294] Test verifying issue where Entity is not marked as dirty if one of its JSON children is modified 2023-12-01 18:16:48 +01:00
Andrea Boriero
d6e695055e HHH-17108 Error In Native Query when adding two Entity's and using composite key. Error: Unable to find column position by name. 2023-12-01 18:16:48 +01:00
Andrea Boriero
d5e3f44479 HHH-17108 Add test for issue 2023-12-01 18:16:48 +01:00
Marco Belladelli
fc5b184284 HHH-17329 Resolve state for query cache for initialized proxies 2023-12-01 18:16:48 +01:00
Marco Belladelli
2570cbe5db HHH-17329 Add test for issue 2023-12-01 18:16:48 +01:00
Christian Beikov
9403c4932a HHH-17351 Add missing basic type registration after changing preferred jdbc type 2023-12-01 18:16:48 +01:00
Christian Beikov
d9e962c991 Fix Oracle 11 issues with aliases and disable FollowOnLockingTest on that version 2023-12-01 18:16:48 +01:00
Marco Belladelli
2d5df89552 HHH-17225 Always use target table column for right / full joins 2023-10-11 18:47:42 +02:00
Marco Belladelli
f163462e36 HHH-17225 Add test for issue 2023-10-11 18:47:42 +02:00
Jan Schatteman
a03c1c0ef7 HHH-17302 - Use nocache for MariaDB sequences
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-11 18:47:42 +02:00
Andrea Boriero
e5b2298b76 HHH-17290 Embeddable with a primitive field cannot be set to null 2023-10-11 18:47:42 +02:00
Andrea Boriero
583015100b HHH-17290 Add test for issue 2023-10-11 18:47:42 +02:00
Christian Beikov
1b789ff3c4 HHH-17276 Be more forgiving when determining lobness 2023-10-11 18:47:42 +02:00
Christian Beikov
6c52aef28f HHH-17276 Expose size based lob-ness in DdlType and retain info in runtime model 2023-10-11 18:47:42 +02:00
LLEFEVRE
7cb740594e HHH-16876 Update Oracle testing to 23c 2023-10-11 18:47:42 +02:00
Christian Beikov
875e0cac3c HHH-16933 Stop using syntax sugar JSON item-methods 2023-10-11 18:47:42 +02:00
Christian Beikov
2751cdacb1 HHH-17264 Use json_object to create empty json 2023-10-11 18:47:42 +02:00
marko-bekhta
00e4086b50 HHH-16897 Push a where clause to stack before combining predicates 2023-10-05 22:30:24 +02:00
marko-bekhta
b8ca38ea87 HHH-16897 Add a test case to reproduce the issue 2023-10-05 22:30:24 +02:00
Sanne Grinovero
dba11edf0e HHH-17282 Introduce a specialized Map for NavigablePath to Initializer 2023-10-02 21:08:37 +01:00
Marco Belladelli
a71df557d9 HHH-17231 Reintroduce support for entity path expansion in subqueries 2023-10-02 16:07:47 +02:00
Marco Belladelli
6edba019fc HHH-17231 Add test for issue 2023-10-02 16:07:47 +02:00
Christian Beikov
2ca37ac651 HHH-16781 @JavaType annotation is ignored when basic type is already registered for the preferred JdbcType 2023-10-02 16:02:10 +02:00
Cedomir Igaly
e61c30e1f1 HHH-16781 - Test case showing the problem 2023-10-02 16:02:10 +02:00
Marco Belladelli
3875f80611 HHH-17178 Add `{element} to treated plural joins by default and fix tg registration 2023-10-02 15:53:09 +02:00
Marco Belladelli
7efb077bdd HHH-17178 Add test for issue 2023-10-02 15:53:09 +02:00
Christian Beikov
990a5a8de7 Remove HANA related double precision tests that became obsolete since drivers were updated 2023-10-02 15:35:13 +02:00
Andrea Boriero
383653d5d4 HHH-16885 Hibernate 6.x changes outer to inner join when @EntityGraph and @Id 2023-09-29 19:50:10 +02:00
Andrea Boriero
f808546570 HHH-16885 Add test for issue 2023-09-29 19:50:10 +02:00
Christian Beikov
bb37b79466 HHH-16675 Remove invalid test 2023-09-29 18:23:22 +02:00
Jan Schatteman
318a54341a HHH-17234 - Add test case and fix for issue (change the "!=" not equal operator to "<>")
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
(cherry picked from commit e92cbac8dc484eb6b351a269276e3297bd572392)
2023-09-29 18:23:22 +02:00
Andrea Boriero
5e17e121ef HHH-17049 Bytecode Enhancement, extra records created for associations created in constructor
(cherry picked from commit 3ef251dfb2003c5f2e5440f0101f8d44c7b050c7)
2023-09-29 18:23:22 +02:00
Andrea Boriero
ad55143eb5 HHH-17049 Add more test for issue
(cherry picked from commit de3008e712041303589b91ca6431c6461b7aaea7)
2023-09-29 18:23:22 +02:00
Marco Belladelli
1fef8c3587 HHH-17049 HHH-17131 test fixes
(cherry picked from commit 96da7272fb318ed71d0eb7f55eaac801ee444f54)
2023-09-29 18:23:22 +02:00
Christian Beikov
a019d8b05b HHH-17049 Avoid use of reserved word 'open' for column name
(cherry picked from commit e248379b0aacb6cceea4b58cf416d4ce06509400)
2023-09-29 18:23:22 +02:00
Andrea Boriero
ef060205c0 HHH-17049 Bytecode Enhancement, extra records created for associations created in constructor
(cherry picked from commit e98fccfdae7c1321ccc89a30ab1336bb487a7c30)
2023-09-29 18:23:22 +02:00
Andrea Boriero
e134c0aadc HHH-17049 Add test for issue
(cherry picked from commit 74863538077cc793644948f94999a34202be471c)
2023-09-29 18:23:22 +02:00
Christian Beikov
638b55f20a HHH-13741 Make sure SQL is logged for regular select queries 2023-09-29 18:23:22 +02:00
Gavin King
86c2a0062d HHH-17233 be a little more forgiving when comparing column types in schema validation
this "fix" is not really strictly-speaking necessary, but it does reduce false positives
in a very tiny number of cases
2023-09-29 18:23:22 +02:00
KaiSuchomel
9c2c863f80 HHH-17243 Update hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java
Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
2023-09-29 18:23:22 +02:00
Kai Suchomel
cfc4374b75 HHH-17243 fixed Duration handling in MetadataBuildingProcess 2023-09-29 18:23:22 +02:00
Andrea Boriero
5f41b4054f HHH-17257 ElementCollection is missing elements after update if embeddable type has primitive columns marked as nullable 2023-09-29 17:37:42 +02:00
Andrea Boriero
bd19df15df HHH-17257 Add additional test 2023-09-29 17:37:42 +02:00
Jan Schatteman
858e131ac5 HHH-17228 - apply the discriminator for 1-1 mappings to single-table-inheritance subclass attributes
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-09-28 17:00:21 +02:00
Marco Belladelli
2be74619c7 HHH-17155 More precise primitive type assignment compatibility check 2023-09-28 15:37:51 +02:00