Commit Graph

11768 Commits

Author SHA1 Message Date
Christian Beikov 7964869a76 Fixes for nightly failures of PG and EDB v12, DB2 10.5 and MariaDB. Exclude Oracle 21 from nightly runs in favor of Atlas build 2024-07-16 18:22:18 +02:00
Christian Beikov 862f573b29 HHH-17949 Fix upsert handling when optimistic locking is involved 2024-07-16 18:22:18 +02:00
Andrea Boriero 8cd501fa6e HHH-18313 NullPointerException because JdbcIsolationDelegate.sqlExceptionHelper() returns null 2024-07-15 14:48:58 +02:00
Andrea Boriero 3fcb58646b HHH-18338 o.h.UnknownEntityTypeException: Unable to locate persister thrown when an embeddable object is loaded before the entity it references 2024-07-15 13:54:29 +02:00
Andrea Boriero b1885184e6 HHH-18338 Add test for issue 2024-07-15 13:54:29 +02:00
Christian Beikov ad4dccaf6a HHH-18352 Don't emulate tuple comparison with subquery if possible 2024-07-08 18:18:16 +02:00
Yanming Zhou aeab7ac229 HHH-18012 Fix array type matching for auto applying AttributeConverter 2024-07-08 17:56:56 +02:00
Yanming Zhou 5bf77895e4 HHH-18012 Add test for issue 2024-07-08 17:56:55 +02:00
Marco Belladelli ba3f533e23 HHH-18347 Fix cast type name using dialect's default size strategy
Also tests failing on MariaDB by avoiding `id` keyword as column name
2024-07-08 16:50:55 +02:00
Marco Belladelli cee623c85b
HHH-17840 Fix `H2FormatJsonJdbcType` deprecation 2024-07-08 11:13:39 +02:00
Marco Belladelli 2160dd8ce8 HHH-18017 Fix discriminator in shallow query cache check 2024-07-08 09:45:03 +02:00
Marco Belladelli 8432d65039 HHH-18017 Add test for issue 2024-07-08 09:45:03 +02:00
imunic 471ebd66cf HHH-17840 Fix inconsistency of read/write null JsonNode/JsonValue 2024-07-05 18:07:10 +02:00
Vladimír Kuruc 43e0914d39 Fixed Informix physical naming strategy compatibility 2024-07-05 17:04:19 +02:00
Vladimír Kuruc 3a30ca26bf Informix Blob locator fix 2024-07-05 15:57:49 +02:00
Marco Belladelli 7a05b75767 HHH-18332 Fix DB2 support for procedure output ref_cursors parameters 2024-07-05 13:42:02 +02:00
Marco Belladelli cf5e013dbd HHH-18332 Test stored procedures on DB2 2024-07-05 13:42:02 +02:00
Marco Belladelli 6c025f9d7e HHH-18085 Also remove loading holder when loading shallow cached entity 2024-07-05 10:25:16 +02:00
Marco Belladelli e1f4bf6ff6 HHH-18085 Add test for issue 2024-07-05 10:25:16 +02:00
Marco Belladelli 3b00a9facb HHH-18272 Check for `SqmAliasedNodeRef` when collecting group/order by 2024-07-04 16:50:17 +02:00
Marco Belladelli e57a2ab7d6 HHH-18272 Add test for issue 2024-07-04 16:50:17 +02:00
Sanne Grinovero 7fb23cd783 HHH-18108 Avoid applying the ClassTransformer on types we will be loading 2024-07-02 16:45:01 +02:00
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