17649 Commits

Author SHA1 Message Date
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
Gavin King
da04eb7736 improve format of error messages relating to getters/setters 2024-02-09 13:56:19 +01:00
Gavin King
c6367d0f45 improve preamble of Generator.adoc 2024-02-09 13:56:19 +01:00
Gavin King
2e360027b5 small fixes to @Find and @HQL methods
don't include session parameter type where not necessary
2024-02-09 13:56:19 +01:00
Gavin King
dfdf49dfa6 further improvements to jdoc of @Find and @HQL 2024-02-09 13:56:19 +01:00
Gavin King
5c0486f840 clarify use of Order and Page with @Find
[It's allowed!]
2024-02-09 13:56:19 +01:00
Gavin King
2085730fd6 fix link in javadoc overview 2024-02-09 13:56:19 +01:00
Gavin King
971d31d9b0 add a NOTE to make something clearer 2024-02-09 13:56:19 +01:00
Gavin King
9a8f02bd21 add some missing info to javadoc for @Find, @HQL, @SQL 2024-02-09 13:56:19 +01:00
Gavin King
2edd192b8d improve reporting of connection errors 2024-02-09 13:56:19 +01:00
Gavin King
7463ce89e3 HHH-17637 improve an error message 2024-02-09 13:56:19 +01:00
Hibernate-CI
faad405904 Post-steps for release : 6.4.4.Final 6.4.4 2024-02-08 13:21:32 +00:00
Hibernate-CI
3e49c0d71c Pre-steps for release : 6.4.4.Final 2024-02-08 13:17:38 +00:00
Andrea Boriero
e98503a807
HHH-17704 Query using detached Proxy as parameter fails with LazyInitializationException 2024-02-08 12:06:51 +01:00
Andrea Boriero
d35cd46995
HHH-17704 Add test for issue 2024-02-08 12:06:47 +01:00
Andrea Boriero
6057d99b79
HHH-16454 PostgreSQL ILIKE Keyword is considered a column name when deducing alias injection points 2024-02-08 12:05:42 +01:00
Andrea Boriero
a2d3315067
HHH-16454 Add test for issue 2024-02-08 12:03:02 +01:00
Marco Belladelli
6138c76c72
HHH-17693 Fix typecheck assertions for converted properties
Also introduce a custom `DurationJdbcType`, mainly for validation purposes.
2024-02-08 09:40:47 +01:00
Marco Belladelli
658e9bc215
HHH-17693 Add test for issue 2024-02-08 09:39:08 +01:00
Andrea Boriero
e9946dbb1c HHH-16974 IllegalStateException Unsupported tuple comparison combination 2024-02-07 11:18:14 +01:00
Andrea Boriero
e7f9875dbe HHH-16974 Add test for issue 2024-02-07 11:18:14 +01:00
Yoann Rodière
0403d12ea9 Move setting of net.bytebuddy.experimental to the Jenkinsfile
The hope is that whenever we add a new JDK version to test,
we'll notice this setting, will try to remove it and upgrade bytebuddy
if necessary. This would avoid mess-ups like the one that caused
https://github.com/hibernate/hibernate-orm/pull/7790
2024-02-07 11:12:11 +01:00
Marco Belladelli
9f3676d690 HHH-17688 Make statement release more consistent in mutation delegates 2024-02-07 10:16:02 +01:00
Marco Belladelli
02fa42d90c HHH-17688 Add test for issue 2024-02-07 10:16:02 +01:00
Scott Marlow
e8793a883b HHH-17713 Upgrade ByteBuddy to 1.14.11
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2024-02-06 13:33:43 +00:00
Marco Belladelli
0a41fa41f5
HHH-17705 Load default bytecode provider using the correct ClassLoader 2024-02-05 17:18:04 +01:00
Yoann Rodière
342ca85c97 HHH-17708 Fix formatting/anchor in documentation of @Struct 2024-02-05 14:54:05 +01:00
Christian Beikov
2661e5cd18 HHH-17662 Replace JdbcTypeConstructor uses for arrays with uniform resolve method 2024-02-05 14:34:02 +01:00