Commit Graph

10538 Commits

Author SHA1 Message Date
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 e92cbac8dc)
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 3ef251dfb2)
2023-09-29 18:23:22 +02:00
Andrea Boriero ad55143eb5 HHH-17049 Add more test for issue
(cherry picked from commit de3008e712)
2023-09-29 18:23:22 +02:00
Marco Belladelli 1fef8c3587 HHH-17049 HHH-17131 test fixes
(cherry picked from commit 96da7272fb)
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 e248379b0a)
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 e98fccfdae)
2023-09-29 18:23:22 +02:00
Andrea Boriero e134c0aadc HHH-17049 Add test for issue
(cherry picked from commit 7486353807)
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
Marco Belladelli 8347d192c7 HHH-17155 Add test for issue 2023-09-28 15:37:51 +02:00
Marco Belladelli 26640ce1fa HHH-17131 Fix collection fetch detection for join-fetched associations 2023-09-28 15:37:51 +02:00
Marco Belladelli dadfa62a01 HHH-17131 Add test for issue 2023-09-28 15:37:51 +02:00
Marco Belladelli 74cc07d251 HHH-17170 Support custom sql mutations for associated collections 2023-09-28 15:37:51 +02:00
Marco Belladelli 61d5ab4db7 HHH-17170 Add test for issue 2023-09-28 15:37:51 +02:00
Marco Belladelli 5635a33ab7 HHH-17105 Include custom sql restriction in join table mutations 2023-09-28 15:37:51 +02:00
Christian Beikov 5d33adadbc HHH-17105 Don't use reserved name role for column 2023-09-28 15:37:51 +02:00
Marco Belladelli c99e0bce6f HHH-17105 Add test for issue 2023-09-28 15:37:51 +02:00
Marco Belladelli 00209bb82c HHH-17255 Fix treated join basic path table reference resolution 2023-09-28 15:37:51 +02:00
Christian Beikov 5b404f1248 HHH-17255 Add test for issue 2023-09-28 15:37:51 +02:00
Marco Belladelli c0c628f16c HHH-17188 Eagerly select values when query cache is enabled 2023-09-28 15:37:51 +02:00
Marco Belladelli c84a30c2c5 HHH-17188 Add test for issue 2023-09-28 15:37:51 +02:00
Marco Belladelli 520538b23d HHH-17205 Avoid select by unique key with no referenced property 2023-09-28 15:37:51 +02:00
Marco Belladelli 67177fa553 HHH-17205 Add test for issue 2023-09-28 15:37:51 +02:00
Marco Belladelli 278ad6a109 HHH-17104 More consistent function argument return type checking 2023-09-28 15:37:51 +02:00
Marco Belladelli 8914f5bc65 HHH-17104 Add test for issue 2023-09-28 15:37:51 +02:00
Yoann Rodière 0d8541a272 HHH-16403 Upgrade to assertj 3.22.0 2023-09-27 21:24:24 +02:00
Christian Beikov be9813a6e9 HHH-17082 - Improve documentation of configuration settings
https://hibernate.atlassian.net/browse/HHH-17082
(cherry picked from commit fd961cebb1)
2023-09-27 21:24:24 +02:00
Christian Beikov ce0bf719a0 HHH-16962 - General documentation improvements
HHH-17141 - Prepare for 6.3.0 release

https://hibernate.atlassian.net/browse/HHH-16962
https://hibernate.atlassian.net/browse/HHH-17141
(cherry picked from commit a2d45a2679)
2023-09-27 21:24:24 +02:00
Christian Beikov 82e66d0037 Make use of connection pooling in most tests 2023-09-27 21:24:24 +02:00
Christian Beikov ce19d9600e HHH-16945 Cast to varbinary for tuple distinct count on SQL Server to avoid collation issues 2023-09-27 21:24:24 +02:00
Christian Beikov 1233372b2f HHH-17100 Fix CustomType to not call UserType#disassemble wrongly 2023-09-27 21:24:24 +02:00
Christian Beikov 6edcde1667 Fix Gradle toolchain issues 2023-09-27 21:24:24 +02:00
Steve Ebersole 740e02fb43 HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-09-27 21:24:24 +02:00
Steve Ebersole 7292e1d001 HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-09-27 21:24:24 +02:00
Steve Ebersole e77364b808 HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-09-27 21:24:24 +02:00
Steve Ebersole 1589d1efe3 General Gradle work - toolchains 2023-09-27 21:24:24 +02:00
Andrea Boriero 128d201201 Fix java 17 build error with Gradle 8 2023-09-27 21:24:24 +02:00
Andrea Boriero f26be80626 Fix jpamodelgen build error with Gradle 8 2023-09-27 21:24:24 +02:00
Christian Beikov 1e3dbdb4e6 Finish up back porting documentation stuff to make Gradle backports easier 2023-09-27 21:24:24 +02:00
Gavin King 7f5e80145d add some links to Javadoc overview 2023-09-27 21:24:24 +02:00
Gavin ee0b22f189 fix doc because @AnyKeyJavaClass seems to be required 2023-09-27 21:24:24 +02:00
Gavin dc00b6c0ea add toStrings() to Tuple impls 2023-09-27 21:24:24 +02:00
Gavin 9d862351a2 slight restructure of HQL guide 2023-09-27 21:24:24 +02:00
Gavin fb35981e42 disable a test on Oracle, because it fails on new JDBC drivers
cc @beikov
2023-09-27 21:24:24 +02:00
Gavin 6941582cee allow instantiation via non-public constructor in HQL 2023-09-27 21:24:24 +02:00
Gavin 13d58901d5 improve error reporting in DynamicInstantiation stuff 2023-09-27 21:24:24 +02:00
Gavin 3c88dfd509 improve some error messages
also, tell StringType know how to convert ints and longs
2023-09-27 21:24:24 +02:00
Gavin 903d71ed2d fix misleading parameter name 2023-09-27 21:24:24 +02:00
Gavin 52e80f76b5 get rid of a stack trace
because some amazing geniuses on stackoverflow who know
much more than me about Hibernate are obsessing over this
DEBUG-level log message
2023-09-27 21:24:24 +02:00
Gavin 18ca4b41c1 squash two warnings 2023-09-27 21:24:24 +02:00
Gavin a3cd3a9839 improve code snippets in @Formula annotation jdoc 2023-09-27 21:24:24 +02:00
Gavin a3682e14e7 clean up a couple of imports 2023-09-27 21:24:24 +02:00
Gavin 58945c5cda improve the aesthetics of some quite ugly log messages 2023-09-27 21:24:24 +02:00
Gavin a347cd8098 fix incorrect javadoc of FlushMode 2023-09-27 21:24:24 +02:00
Gavin 9b4ed961b8 false is the default for getBoolean() 2023-09-27 21:24:24 +02:00
Gavin 556cb4ad5c fix incorrect warning
the warning was printed even when it should not be (my fault)
2023-09-27 21:24:24 +02:00
Gavin c759028687 fix two jdoc typos 2023-09-27 21:24:24 +02:00
Gavin 8c2e83748a improve discussion of foreign key mappings 2023-09-27 21:24:24 +02:00
Andrea Boriero 6c896b7dee HHH-17257 ElementCollection is missing elements after update if embeddable type has primitive columns marked as nullable 2023-09-27 17:28:56 +02:00
Andrea Boriero 1dd59b2dff HHH-17257 Add test for issue 2023-09-27 17:28:56 +02:00
Andrea Boriero b79181e918 HHH-17256 Elementcollection embeddable contains only nulls when loading in multiple steps 2023-09-27 17:28:41 +02:00
Andrea Boriero 23194aac1c HHH-17256 Add test for issue 2023-09-27 17:28:41 +02:00
Marcel Overdijk ab3d4d6d3a HHH-17172 Retrieve matching session factory either by uuid or name during serialization/deserialization 2023-09-27 16:05:20 +01:00
Sanne Grinovero 3cb280fa96 HHH-16900 Restore API combatibiliy by using deprecated default methods 2023-09-27 15:29:02 +01:00
Sanne Grinovero 9c7194519d HHH-16900 Optimise implementations of MutationOperationGroup 2023-09-27 15:29:02 +01:00
Sanne Grinovero 7dc2449870 HHH-16900 Avoid using the old method, ensure by removing the deprecated methods 2023-09-27 15:29:02 +01:00
Sanne Grinovero f0969d295a HHH-16900 Refactor integration tests 2023-09-27 15:29:02 +01:00