Commit Graph

17676 Commits

Author SHA1 Message Date
Christian Beikov 85a2752c1d HHH-17808 NPE when null vector is read with VectorJdbcType 2024-03-05 16:46:40 +01:00
Marco Belladelli c956208926
HHH-17763 Rely on action-specific `SchemaFilter` instances
Deprecated `ExecutionOptions#getSchemaFilter` which was always returning the default implementation (not filtering anything)
2024-03-04 17:14:08 +01:00
Marco Belladelli 89dfa61b0c
HHH-17763 Add test for issue 2024-03-04 17:14:07 +01:00
Marco Belladelli 38ad704ea2
HHH-17769 Ignore query options limit when rendering cte definitions 2024-03-04 12:33:00 +01:00
Marco Belladelli 69aee62231
HHH-17769 Add test for issue 2024-03-04 12:33:00 +01:00
Marco Belladelli 0286006991
HHH-17726 Cleanup java types missing same type in wrap/unwrap 2024-02-28 16:31:21 +01:00
Marco Belladelli 3f60909967
HHH-17726 Add test for issue 2024-02-28 16:31:20 +01:00
datazuul b139d449c8 HHH-17275: Fix NPE in BooleanJavaType for converter returning NULL for relational value 2024-02-28 13:35:11 +01:00
Marco Belladelli 62e6732206
HHH-17750 Handle bytecode-enhanced proxies in context identifier 2024-02-27 15:23:30 +01:00
marko-bekhta 6eadbde9eb
HHH-17750 Add a reproducer 2024-02-27 15:23:29 +01:00
Christian Beikov 5efb33b5a2 HHH-17734 Ensure provider_class has precedence over datasource 2024-02-22 13:31:54 +01:00
Christian Beikov 13678e4124 HHH-17765 Support some special chars in query method queries 2024-02-21 17:18:32 +01:00
Yoann Rodière 104eb3cf32 Actually set JVM options in JavaModulePlugin
The previous implementation was not doing anything: somehow Gradle was
erasing any change. Most likely the list passed to setJvmArgs is getting
copied and later changes to that list are just ignored.
2024-02-20 17:06:28 +01:00
Yoann Rodière b746466896 Fix quoting problem in Jenkinsfile 2024-02-20 17:06:28 +01:00
Yoann Rodière aa15081c2a Revert "Make sure test.jdk.launcher.args is passed as jvm args to test launcher"
This reverts commit d7a46451ce.
2024-02-20 17:06:28 +01:00
Gavin King 3b9014cdbf HHH-17755 add test for issue 2024-02-20 16:56:28 +01:00
Gavin King e51d03c0ba HHH-17755 fix inferral of @IdClass column mapping from @MapsId 2024-02-20 16:56:28 +01:00
Gavin King 22b1d606c5 fix spelling of method name 2024-02-20 16:56:28 +01:00
Gavin King d1db92c220 very minor code changes to ForeignGenerator 2024-02-20 16:56:28 +01:00
Gavin King 78cd0175cc HHH-17755 make @MapsId work correctly with @IdClass
the @Id property was not getting populated
2024-02-20 16:56:28 +01:00
Gavin King 8215a28fcc HHH-17661 add test for issue 2024-02-20 16:56:28 +01:00
Gavin King b21786ace0 HHH-17613 - don't use reduce() 2024-02-20 16:56:28 +01:00
Cedomir Igaly e427ff47a9 HHH-17613 - Adding recursion; avoiding regular expression 2024-02-20 16:56:28 +01:00
Cedomir Igaly ce805efc0b HHH-17613 - Fixing type import 2024-02-20 16:56:28 +01:00
Cedomir Igaly 23f5b45b5c HHH-17613 - Test case demonstrating the problem 2024-02-20 16:56:28 +01:00
Marco Belladelli d29cb697f9
HHH-17730 Account for immutable embedded ids during merge 2024-02-20 14:11:25 +01:00
Marco Belladelli 76027709b1
HHH-17730 Add test for issue 2024-02-20 14:11:25 +01:00
Christian Beikov c44823a326 Make sure test.jdk.launcher.args is passed as jvm args to test launcher 2024-02-19 14:38:30 +01:00
Ken Schosinsky fff89542a6 HHH-17742 Fix race condition in ConcreteSqmSelectQueryPlan 2024-02-19 14:16:59 +01:00
Ken Schosinsky 9fc1ba259f HHH-17742 Test for race condition in ConcreteSqmSelectQueryPlan
Race condition occurs when two or more concurrent reach the synchronized
block in ConcreteSqmSelectQueryPlan#withCacheableSqmInterpretation. The
latter ones will see the cacheableSqmInterpretation by the first one,
but don't check whether it is compatible
(jdbcSelect.dependsOnParameterBindings(), jdbcSelect.isCompatibleWith).

On MySQL this can cause "limit null,1" to be rendered if the first query
has both offset and limit, the latter ones only a limit.
2024-02-19 14:16:59 +01:00
Marco Belladelli a4cbe2f95a
HHH-17096 Always initialize table group for subtype treated joins 2024-02-16 16:30:21 +01:00
Marco Belladelli c6c9671385
HHH-17096 Add test for issue 2024-02-16 16:30:17 +01:00
Marco Belladelli 2e9e472bd7
HHH-17508 Fix using union queries as CTE in criteria 2024-02-16 11:58:14 +01:00
Marco Belladelli 584518d609
HHH-17508 Add test for issue 2024-02-16 11:58:14 +01:00
Marco Belladelli 08db8487b0
HHH-17701 Use relational java type when resolving mapping expressibles 2024-02-16 11:55:21 +01:00
Marco Belladelli 6b56b7e737
HHH-17701 Add test for issue 2024-02-16 11:55:21 +01:00
Marco Belladelli 46dffe3336
HHH-17695 Skip rendering null nested JSON aggregate embeddables 2024-02-16 10:47:01 +01:00
Marco Belladelli d865ec9e36
HHH-17695 Add test for issue 2024-02-16 10:47:00 +01:00
Marco Belladelli be3170a197
Assume "yes" for pgvector package installation in db startup script 2024-02-12 16:38:49 +01:00
Gavin King d234b4eea9 HHH-14821 consistent use of exception types
(and exception message formats)
2024-02-09 13:56:19 +01:00
Gavin King 7e723da507 validate the type arg of Order parameters in @Find and @HQL methods 2024-02-09 13:56:19 +01:00
Yanming Zhou 015f3fd1d2 Rename variable for better readability 2024-02-09 13:56:19 +01:00
Yanming Zhou d6390ce79f HHH-17719 Supports boolean as return type of mutation query method 2024-02-09 13:56:19 +01:00
Gavin King 3cb5c07274 validate parameters of @SQL query 2024-02-09 13:56:19 +01:00
Gavin King 8346b7132d more blurb about finder/query methods 2024-02-09 13:56:19 +01:00
Gavin King 594fd2f4aa add missing package-info 2024-02-09 13:56:19 +01:00
Gavin King c8d13108b5 document Transaction.setTimeout() 2024-02-09 13:56:19 +01:00
Gavin King ee33347786 HHH-17716 implement JtaTransactionAdapterTransactionManagerImpl.setTimeOut() 2024-02-09 13:56:19 +01:00
Gavin King d36131eff5 big code example in package doc for org.hibernate.annotations.processing 2024-02-09 13:56:19 +01:00
Gavin King 6fef20cd49 better handling of the session variable in repositories 2024-02-09 13:56:19 +01:00