Commit Graph

11746 Commits

Author SHA1 Message Date
Marco Belladelli 1c1572b88e HHH-18259 Fix check for generated properties for root table only 2024-06-14 12:26:14 +02:00
Marco Belladelli 9452f9523d HHH-18259 Add test for issue 2024-06-14 12:26:14 +02:00
Marco Belladelli 66c5bd5dc2
HHH-18218 - Fix possible null pointer 2024-06-12 16:15:29 +02:00
Cedomir Igaly 8dbbb40e43 HHH-18218 - Improved type resolving when tuple element implements SqmExpressibleAccessor 2024-06-12 16:06:14 +02:00
Cedomir Igaly f63f15bb4f HHH-18218 - Added test case not using explicit constructor new ConstructorDto(...) 2024-06-12 16:06:13 +02:00
Andrea Boriero 742fc4c60a Improve Sybase and SQLServer blob lob generation 2024-06-12 13:46:07 +02:00
Andrea Boriero 8f9d1a15ad HHH-16094 HHH-17097 MySQL schema generation and validation : tinytext instead of longtext for @Lob 2024-06-12 13:46:07 +02:00
Andrea Boriero 58b5cea899 HHH-16094 Add test for issue 2024-06-12 13:46:07 +02:00
Andrea Boriero 82b47c878e HHH-17097 Add test for issue 2024-06-12 13:46:07 +02:00
Andrea Boriero ab96246684 HHH-18147 Hibernate fails to persist an entity when a natural id association is a proxy 2024-06-12 13:31:13 +02:00
Andrea Boriero aba0c6f9d5 HHH-18147 Add test for issue 2024-06-12 13:31:13 +02:00
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
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
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
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
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
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
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
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
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
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
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