Commit Graph

18699 Commits

Author SHA1 Message Date
Christian Beikov 415bfcf8fa 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 17:26:15 +02:00
Christian Beikov b51acb752d HHH-17949 Fix upsert handling when optimistic locking is involved 2024-07-16 17:26:15 +02:00
Davide D'Alto ab3e4e27e0 HHH-18381 Changes for Hibernate Reactive 2.4 2024-07-16 10:11:34 -05:00
Christian Beikov e4a0b6988f Switch to a okhttp-digest version that is available on Maven central 2024-07-16 11:07:51 +02:00
Christian Beikov 1da18451ce Update asciidoctor plugins to 4.0.2 2024-07-15 19:27:12 +02:00
Andrea Boriero 164cbf0e8b HHH-18313 NullPointerException because JdbcIsolationDelegate.sqlExceptionHelper() returns null 2024-07-15 14:48:50 +02:00
Andrea Boriero 63171d365a 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:18 +02:00
Andrea Boriero 287bda68a0 HHH-18338 Add test for issue 2024-07-15 13:54:18 +02:00
Čedomir Igaly fc6fca3435 HHH-18358 Properly resolving entity type literal in named query while generating metamodel 2024-07-13 11:32:41 +02:00
Čedomir Igaly e71f874e1f HHH-18358 Test case - create metamodel from entity class containing named query comparing type(.) with literal 2024-07-13 11:32:41 +02:00
Gavin King 93b2fc2bbd add missing @Override annotations
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-07-13 11:19:54 +02:00
Christian Beikov 40343e4f79 Switch to JPA TCK 3.1.5 2024-07-11 19:36:23 +02:00
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
Gavin King 8ab4b177be mention @ConcreteProxy and the problem it solves in Introduction doc
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-07-11 13:59:44 +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
marko-bekhta 91b3c36d53 HHH-18324 Upgrade to Jandex 3.2.0 2024-07-08 17:49:50 +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
nathan.xu 714c7f010b HHH-18318 fix user guide bootstrap minor link text issue 2024-07-05 17:46:09 +02:00
Christian Beikov 0d79b4351f Fix missing build.sh entries and upgrade mariadb client driver to 3.4.0 2024-07-05 17:44:15 +02:00
Daniel Black 5d2c69395b upgrade mariadb jdbc driver to 3.4.0
Signed-off-by: Daniel Black <daniel@mariadb.org>
2024-07-05 17:34:32 +02:00
Daniel Black 0b79f4b5ad docker add mariadb_verylatest for testing against upstream latest pre-release images
This container image is build from the latest pre-release branch of the
tree. By testing this we know if MariaDB is regressing on something
hibernate depends upon and can tell them before release.

Announced: https://mariadb.org/new-service-quay-io-mariadb-foundation-mariadb-devel/

Signed-off-by: Daniel Black <daniel@mariadb.org>
2024-07-05 17:34:32 +02:00
Daniel Black 6c91c03bf1 docker mariadb use MARIADB_* env variables
The MySQL compatability variables are still there, but
we're using MariaDB so use the names that match the product.

Signed-off-by: Daniel Black <daniel@mariadb.org>
2024-07-05 17:34:32 +02:00
Daniel Black d7b0d52e50 docker mariadb_11_3 eol - use 11.4 instead
11.3 is EOL, 11.4 is stable and announced as a
LTS.

Signed-off-by: Daniel Black <daniel@mariadb.org>
2024-07-05 17:34:32 +02:00
Daniel Black 0af72a5299 docker mariadb_10_9 eol - use 10.11.8 instead
MariaDB-10.9 was a short term release and has been
end of life for a while. Use the maintained version above
this, 10.11.

ref: https://mariadb.org/about/#maintenance-policy

Signed-off-by: Daniel Black <daniel@mariadb.org>
2024-07-05 17:34:32 +02:00
Daniel Black 87f35be014 docker mariadb - 10.4 -> 10.4.34
Update to the last MariaDB version (ever) in the 10.4 series.

Signed-off-by: Daniel Black <daniel@mariadb.org>
2024-07-05 17:34:32 +02:00
Daniel Black c51805a063 docker mariadb - unify start to use healthcheck.sh
This gives a consistent upstream maintained view of
a started mariadb instance.

Signed-off-by: Daniel Black <daniel@mariadb.org>
2024-07-05 17:34:32 +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
Yanming Zhou 84b3ea0115 HHH-18334 Fix that Teradata doesn't support variable limit 2024-07-05 15:53:15 +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