Commit Graph

10525 Commits

Author SHA1 Message Date
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
Sanne Grinovero 430929d3c3 HHH-16900 Rework also the MutationGroup APIs 2023-09-27 15:29:02 +01:00
Sanne Grinovero fa677f3d62 HHH-16900 Rework mutation group API 2023-09-27 15:29:02 +01:00
Sanne Grinovero b1dd13a407 HHH-17220 Avoid runtime lookups of JdbcService from TableGenerator and TableStructure 2023-09-27 14:03:04 +01:00
Christian Beikov 22ed4793b9 HHH-17242 Partly revert original solution to retain correct expression types 2023-09-26 15:53:42 +02:00
Jan Schatteman 8af4882dea HHH-15317 - Fix for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-09-22 20:31:23 +02:00
Jan Schatteman 17fd5078d8 HHH-15317 - Add test for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-09-22 20:31:23 +02:00
Christian Beikov 5b97f49bc8 HHH-17242 Improve temporal arithmetic SQL rendering 2023-09-22 16:37:43 +02:00
Jan Schatteman 4faa30f172 HHH-17187 - Disallow UUIDs with a trailing 0 byte in tests
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-09-20 09:11:34 +02:00
Marco Belladelli bea9d12115 HHH-17156 Skip initialization for different subtype embeddables 2023-09-18 20:48:11 +02:00
gtoison af24f1dd1d HHH-17156 Add test for issue 2023-09-18 20:48:11 +02:00
Andrea Boriero 2a00a49123 HHH-17221 AssertionError initializing a collection with FetchMode.SUBSELECT and IdClass having only one field 2023-09-18 16:34:27 +02:00
Andrea Boriero 77a53bca9b HHH-17221 Add test for issue 2023-09-18 16:34:27 +02:00
Christian Beikov 30687e0370 HHH-17202 Fix ArrayStoreException for single field id class entity collection batch loading 2023-09-15 09:37:37 +02:00