18307 Commits

Author SHA1 Message Date
Davide D'Alto
dbfaa0d4f2 HHH-18254 Change NativeQueryImpl#createCountQueryPlan scope to protected
So that I can re-use the code when implementing ReactiveSelectQueryPlan#getReactiveResultsCount in Hibernate Reactive
2024-06-12 13:20:02 +02:00
Christian Beikov
721452a05f Use System.getProperty() instead 2024-06-12 09:24:55 +02:00
Sanne Grinovero
919eee5377 Keep dependency repository definitions well defined 2024-06-12 09:24:55 +02:00
Vladimír Kuruc
2820e9e03a HHH-18250 Informix multi insert not supported 2024-06-12 00:24:10 +02:00
Andrea Boriero
55ab762dde Upgrade Gradle to 8.8, upgrade checkframework to 0.6.40, fix HibernateProcessor resources creation causing whole tests recompilation 2024-06-11 23:50:36 +02:00
Christian Beikov
a4ba87bc65 Add APT_DEBUG flag to allow debugging the Javac process and annotation processors 2024-06-11 23:48:05 +02:00
Vladimír Kuruc
0061e8922d Informix run fix 2024-06-10 23:16:40 +02:00
Marco Belladelli
3a58018cc0 HHH-18202 Fix group/order by fk rendering handling nested paths
Introduced generalized `MetadataKey`-based resolutions with caching in `BaseSqmToSqlAstConverter`
2024-06-10 15:50:36 +02:00
Marco Belladelli
f9210580d0 HHH-18202 Add test for issue 2024-06-10 15:50:36 +02:00
Christian Beikov
a6ffa84db7 HHH-18232 Use change table modifier new and final consistently on DB2 and zOS 2024-06-07 15:03:17 +02:00
Christian Beikov
de63a8dc00 Make it possible to run with informix 2024-06-07 14:53:04 +02:00
Marco Belladelli
696626e5e1 HHH-18218 Account for generics in dynamic instantiation arguments 2024-06-07 13:39:50 +02:00
Marco Belladelli
41360f428c HHH-18218 Add test for issue 2024-06-07 13:39:50 +02:00
Vladimír Kuruc
43a6f32fad HHH-18246 Fix for Informix nulls precedence support 2024-06-07 13:24:12 +02:00
Vladimír Kuruc
b900d7656d HHH-18244 Fix for Informix SelectItemReferenceStrategy 2024-06-07 10:48:12 +02:00
Gavin King
b1787d9a07 HHH-17804 roll back change to semantics of 'null in ()'
It turns out that SQL databases (IMO wrongly) treat the expression
'null in (select 1 where false)' as false instead of null. And as
of JPA 3.2, we're free to interpret 'null in ()' consistently with
that, which we should do.

So my change made things worse rather than better.

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-07 08:29:21 +02:00
Vladimír Kuruc
a8d0e73632 HHH-16844 Fix for Informix VARCHAR, NVARCHAR mappings errors 2024-06-06 18:47:07 +02:00
Marco Belladelli
81f9818af4 HHH-18121 Replace dynamic instantiations for non-simple count queries 2024-06-06 08:59:55 +02:00
Marco Belladelli
3845df932b HHH-18121 Add test for issue 2024-06-06 08:59:55 +02:00
Vladimír Kuruc
7fb6af5a62 HHH-18225 Fix for Informix syntax error in DISTINCT clause before SKIP clause 2024-06-04 18:05:10 +02:00
Marco Belladelli
7fd44d6733 HHH-17959 Apply concrete type to subqueries with single selection 2024-06-04 16:46:44 +02:00
Marco Belladelli
3711e6ea78 HHH-17959 Add test for issue 2024-06-04 16:46:44 +02:00
Vladimír Kuruc
a8dde4d40f HHH-18221 Fix for Incomplete list of existing foreign keys - DatabaseMetaData.crossReferences(...) not used 2024-06-04 13:51:28 +02:00
Mark Rotteveel
6542c5604a HHH-18213 Fix LimitHandler for Firebird 2.5 and older 2024-06-04 13:38:15 +02:00
Vladimír Kuruc
88eaa2c899 HHH-18150 Considered change of ignoring precision while preserving float/smallfloat mapping 2024-06-04 11:47:04 +02:00
Vladimír Kuruc
1f6fdb3f1d HHH-18150 Fix for Informix float and double precision in decimal digits 2024-06-04 11:47:04 +02:00
Vlado Kuruc
a0afb5cf3c HHH-18180 Update hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/sequence/InformixSequenceSupport.java
Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
2024-06-04 11:41:53 +02:00
Vladimír Kuruc
5cfd7dfa82 HHH-18180 Informix IF EXISTS clauses support 2024-06-04 11:41:53 +02:00
Steve Ebersole
0940c9806b Upgrade XJC plugin to address branch-switch issues
(cherry picked from commit 1861eccc2c7835ffc3133a49917bd9d1cdd6ae68)
2024-05-31 12:00:54 -05:00
Marco Belladelli
cc67fdef10 HHH-17968 Fix missing CTE processing in subqueries 2024-05-31 15:48:48 +02:00
Marco Belladelli
7ef83da0be HHH-17968 Add test for issue 2024-05-31 15:48:48 +02:00
Marco Belladelli
5708214208
Add missing newline 2024-05-31 13:46:52 +02:00
Marco Belladelli
d69115e000
Mark org.hibernate.generator.values as @Incubating 2024-05-31 12:54:26 +02:00
Steve Ebersole
696590a51d Upgrade XJC plugin to address branch-switch issues
(cherry picked from commit caa0ae845d6148f1c903d6ddb8be4105197e6a01)
2024-05-30 13:08:53 -05:00
Steve Ebersole
40e8062313 Fix extended test SourceSets for hibernate-processor
(cherry picked from commit 88ec2fe38b83e06c43a36341f97aa2917e73a7b6)
2024-05-30 07:26:47 -05:00
Marco Belladelli
7756e5c474
HHH-18151 Backport test to use BytecodeEnhancerRunner 2024-05-29 09:42:27 +02:00
Matej Pucihar
d53f21a4b4
HHH-18151 Fix lazy loading with generics and inheritance 2024-05-29 09:05:15 +02:00
Matej Pucihar
e0217c1d2d
HHH-18151 Add test for issue
Co-authored-by: Marco Belladelli <marcobladel@gmail.com>
2024-05-29 09:05:11 +02:00
Matej Pucihar
b7755c7906
HHH-18138 entity graphs must respect concrete generic attribute
Co-authored-by: Marco Belladelli <marcobladel@gmail.com>
2024-05-29 09:04:26 +02:00
Matej Pucihar
1e5d1fdcc0
HHH-18138 Add test for issue 2024-05-29 09:04:22 +02:00
Marco Pelagatti
f4d044f63a HHH-18170 Subquery randomly generating wrong SQL due to duplicate alias 2024-05-28 11:24:51 +02:00
Marco Belladelli
61632590a0 HHH-17925 Allow mapping join column on single attribute of composite id 2024-05-28 10:42:12 +02:00
Marco Belladelli
3652897800 HHH-17925 Add test for issue 2024-05-28 10:42:12 +02:00
Marco Belladelli
f372748105 HHH-18007 Use correct expressible when checking query result type 2024-05-28 10:42:02 +02:00
marko-bekhta
cd60710c92 HHH-18007 Add a testcase for the issue 2024-05-28 10:42:02 +02:00
Dmitry Kryukov
c8809b73e5 HHH-18107 fixed package name 2024-05-27 17:26:41 +02:00
Gavin King
4f15299807 HHH-18140 Skip optimizeUnloadedDelete if there are POST_COMMIT_DELETE listeners
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-27 16:08:03 +02:00
Guenther Demetz
985c6e4001 HHH-16557 Testcase and bugfix proposal (revised by beikov) 2024-05-27 14:35:59 +02:00
Christian Beikov
0985ddecc4 HHH-18027 Clear expansions NonSelectQueryPlan.executeUpdate call 2024-05-27 14:25:39 +02:00
Yanming Zhou
9e519f84a1 HHH-18027 Test mutation query reuse with parameter list expansions 2024-05-27 14:25:39 +02:00