Commit Graph

18296 Commits

Author SHA1 Message Date
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 1861eccc2c)
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 caa0ae845d)
2024-05-30 13:08:53 -05:00
Steve Ebersole 40e8062313 Fix extended test SourceSets for hibernate-processor
(cherry picked from commit 88ec2fe38b)
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
Marco Belladelli 38fa18ad5b HHH-17161 Align `StandardTableGroup` table reference join name checks 2024-05-27 08:51:36 +02:00
Konrad Kügler 39b85e5014 HHH-17161 Add test for issue 2024-05-27 08:51:36 +02:00
Gavin King a3f4cd6cd3 HHH-18149 fix for HibernateProcessor on ecj
A typecast which works on javac doesn't work on ecj,
but I agree that ecj is correct here.

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-27 08:32:53 +02:00
Gavin King eebe0e3e21 HHH-18019 fix package present detection on ecj
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-27 08:32:53 +02:00
Vladimír Kuruc 5e9ded47a3 HHH-18163 Fix for Informix foreign key on cascade delete syntax 2024-05-23 19:34:12 +02:00
Vladimír Kuruc a5e01da437 HHH-18153 Checkstyle fixes 2024-05-23 19:32:01 +02:00
Vladimír Kuruc 4f7944d722 HHH-18153 Fix for Informix unique constraints on nullness columns 2024-05-23 19:32:01 +02:00
Cedomir Igaly 0c0d4d5161 HHH-18117 Proposed solution 2024-05-23 12:44:23 +02:00
Cedomir Igaly 5cf497f3c3 HHH-18117 Test case 2024-05-23 12:44:23 +02:00
Andrea Boriero c073729832 HHH-17943 - Fix for issue 2024-05-22 17:54:09 +02:00
Andrea Boriero 83f723e8c2 HHH-17943 - Add test for issue 2024-05-22 17:54:09 +02:00