Commit Graph

11992 Commits

Author SHA1 Message Date
Christian Beikov 505092e4ea HHH-18375 Reuse previous row state when result cardinality is duplicated 2024-07-11 19:12:40 +02:00
Geoffrey Park 228bd7958f HHH-18343 fix Altibase integration test failures since Hibernate 6.5.2 2024-07-11 18:31:12 +02:00
Jan Schatteman b48d0cf0f3 HHH-17914 - correct the NPE protection in AbstractCollectionPersister.logStaticSQL()
checking if `getRowMutationOperations().hasInsertRow()` (e.g.) is not enough to avoid a possible NPE at
`getRowMutationOperations().getInsertRowOperation().getSqlString()` since `getInsertRowOperation()` can still return null

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-11 15:49:45 +02:00
nathan.xu 2850c5ff90 HHH-18342 improve javadoc in SharedSessionContractImplementor 2024-07-11 01:59:32 +02:00
Samuel Guillemet bb90a84505 HHH-18339 Set support filter clause to True for H2 2024-07-09 15:58:46 +02:00
nathan.xu e2e1661845 HHH-18335 Improve partial order algorithm in AnnotationMetadataSourceProcessorImpl 2024-07-09 14:31:25 +02:00
Christian Beikov 2e9039b840 HHH-18352 Don't emulate tuple comparison with subquery if possible 2024-07-08 18:17:44 +02:00
Yanming Zhou f2d086f0dc HHH-18012 Fix array type matching for auto applying AttributeConverter 2024-07-08 17:56:19 +02:00
Yanming Zhou 9905a30852 HHH-18012 Add test for issue 2024-07-08 17:56:19 +02:00
nathan.xu dc31194dcb HHH-18340 fix incorrect method return types in AbstractDelegatingSessionFactoryBuilder class 2024-07-08 17:47:22 +02:00
Marco Belladelli 04ab85f155 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:53 +02:00
Marco Belladelli cbe2f6ff89 HHH-17840 Fix `H2FormatJsonJdbcType` deprecation 2024-07-08 11:13:47 +02:00
Marco Belladelli 6bff7d30c8 HHH-18086 Include parent alias in NP identifier for table group 2024-07-08 11:12:19 +02:00
Marco Belladelli b392a5187d HHH-18086 Add test for issue 2024-07-08 11:12:19 +02:00
Marco Belladelli 1fe8b3c0d5 HHH-18017 Fix discriminator in shallow query cache check 2024-07-08 09:44:59 +02:00
Marco Belladelli ad3d985b52 HHH-18017 Add test for issue 2024-07-08 09:44:59 +02:00
imunic c5d5bc1922 HHH-17840 Fix inconsistency of read/write null JsonNode/JsonValue 2024-07-05 18:05:41 +02:00
Thomas Wearmouth a882fbdf0c HHH-18327 Add Agroal and HikariCP settings constants
HHH-18327 fix incorrect Agroal property names

HHH-18327 extend new connection pool settings in JdbcSettings

HHH-18327 use new HikariCPSettings constant in HikariConfigurationUtil

HHH-18327 add HikariCP settings constants

HHH-18327 improve wording

HHH-18327 use new AgroalSettings constant in AgroalConnectionProvider

additionally add AgroalSettings to javadoc and fix invalid see tag
2024-07-05 18:01:25 +02:00
Čedomir Igaly 859a945624 HHH-18291 predicate expression type resolved from expressible java type insted of direct java type 2024-07-05 17:27:02 +02:00
Čedomir Igaly 3ee4015fe9 HHH-18291 Test case; adapted from reproducer https://github.com/hibernate/hibernate-test-case-templates/pull/398/files 2024-07-05 17:27:02 +02:00
Vladimír Kuruc 2823dbeb76 Fixed Informix physical naming strategy compatibility 2024-07-05 17:04:44 +02:00
Vladimír Kuruc 1f1b86a085 HHH-18312 Suggested style changes 2024-07-05 16:55:37 +02:00
Vladimír Kuruc 711dffa7e3 HHH-18312 Fix for Informix nationalized JDBC types support 2024-07-05 16:55:37 +02:00
Vladimír Kuruc a6503e100e Informix Blob locator fix 2024-07-05 15:58:14 +02:00
Marco Belladelli f292908b67 HHH-18332 Fix DB2 support for procedure output ref_cursors parameters 2024-07-05 13:41:59 +02:00
Marco Belladelli 4c64ddc153 HHH-18332 Test stored procedures on DB2 2024-07-05 13:41:59 +02:00
Marco Belladelli a86b35e664 HHH-18085 Also remove loading holder when loading shallow cached entity 2024-07-05 10:25:11 +02:00
Marco Belladelli 06f301f463 HHH-18085 Add test for issue 2024-07-05 10:25:11 +02:00
Marco Belladelli 8971558281 HHH-18272 Check for `SqmAliasedNodeRef` when collecting group/order by 2024-07-04 16:50:14 +02:00
Marco Belladelli 1a0b582823 HHH-18272 Add test for issue 2024-07-04 16:50:14 +02:00
Sanne Grinovero 5a052bafc9 HHH-18108 Avoid applying the ClassTransformer on types we will be loading 2024-07-02 16:45:05 +02:00
Gavin King c1624dce98 minor code style improvements to ConnectionProviders
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 19:49:12 +02:00
Gavin King 05dc7b2612 clean up some imports
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 17:21:47 +02:00
Yoann Rodière 332b69ede2 HHH-18296 Test that we don't log warnings when "DROP IF EXISTS" is executed on postgres 2024-06-26 15:44:20 +02:00
Gavin King 3708e56aa2 HHH-18296 skip two fragile and not-extremely-useful tests on Postgres
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 15:44:20 +02:00
Gavin King ad55fd0010 HHH-18296 call set client_min_messages = WARNING before dropping tables on Postgres
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 15:44:20 +02:00
Gavin King 1b25f8c6ea eliminate unnecessary dupe method call
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 11:54:56 +02:00
Gavin King 93ec580fad make use of Length constants in Dialects instead of Integer.MAX_VALUE
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 11:54:56 +02:00
Gavin King d4593b00ce very minor
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-25 23:03:55 +02:00
Gavin King 5645b3440a HHH-18301 DB2 LUW supports DROP TABLE IF EXISTS since 11.5
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-25 23:03:55 +02:00
Gavin King f947927234 HHH-18288 @Index specified by subclass in SINGLE_TABLE inheritance
I'm definitely not a fan of @Table annotations on subclasses in SINGLE_TABLE
hierarchies. However, unfortunately we've already decided to tolerate it.

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-21 11:55:20 +02:00
Gavin King 2b62eaa058 HHH-18158, HHH-18251, HHH-18062 fix composite id handling
by rolling back HHH-15184

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-14 15:34:06 +02:00
Marco Belladelli b3d01730ce HHH-18259 Fix check for generated properties for root table only 2024-06-14 10:22:28 +02:00
Marco Belladelli 24dd943c7b HHH-18259 Add test for issue 2024-06-14 10:22:28 +02:00
Dmitry Kryukov d53c9aa7cd HHH-18118 fixed comparison of class field with itself 2024-06-14 09:33:36 +02:00
Dmitry Kryukov ebaba54a83 HHH-18122 removed check of the arg type for private classes 2024-06-14 09:28:59 +02:00
Dmitry Kryukov 2b965f6c65 HHH-18122 added check of the arg type into equals() 2024-06-14 09:28:59 +02:00
Marco Belladelli 638466fa8c
HHH-18212 Small cleanups to transient check logic 2024-06-14 09:23:09 +02:00
Gavin King 8686392afe clean up logic in CHECK_ON_FLUSH
so that it's more readable/understandable

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-13 23:39:29 +02:00
Gavin King 6f58c5e2f6 minor cleanups in Dialect
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-13 23:39:29 +02:00