Commit Graph

18669 Commits

Author SHA1 Message Date
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
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
dependabot[bot] bd2670a41d Bump com.gradle.develocity from 3.17.4 to 3.17.5
Bumps com.gradle.develocity from 3.17.4 to 3.17.5.

---
updated-dependencies:
- dependency-name: com.gradle.develocity
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 17:50:36 +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
Gavin a844019ba0 code examples of flush semantics in doc 2024-07-04 00:53:57 +02:00
Marco Belladelli 40544fad60 HHH-18285 Migration for emb-inheritance and annotated class validation
Also slight improvements to release notes and user guide.
2024-07-03 16:46:50 +02:00
Jan Schatteman e670f0bc4d HHH-17414 - Add a basic test logging configuration for UCP
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-03 14:10:37 +02:00
Lukáš Vasek 4d66718d54 HHH-18293 Upgraded geolatte to 1.9.1 2024-07-02 16:45:45 +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
nathan.xu 8878a19161 HHH-18320 fix some synatx errors in Locking user guide chapter 2024-07-01 09:35:08 +01: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
Čedomir Igaly d0973b28c1 HHH-18278 - Method org.hibernate.processor.HibernateProcessor#included(Element) should accept both TypeElement and PackageElement 2024-06-27 18:12:32 +02:00
Čedomir Igaly 62a89e6d30 HHH-18278 - Test case:
Metamodel generator should generate classes
			org.hibernate.processor.test.packageinfo.Message_
		and
			org.hibernate.processor.test.packageinfo.packageinfo_
		With later containing fields QUERY_FIND_BY_KEY and QUERY_FIND_BY_ID_AND_KEY,
		and method findByKey
2024-06-27 18:12:32 +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
Gavin King 087d0b1208 remove some code that is apparently unnecessary
at least: all the tests pass without it

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 17:21:47 +02:00
Gavin King 6ac0818c14 Update Jakarta Data dependency to 1.0
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 17:21:47 +02:00
Yoann Rodière a6a2a028af
Fix level of a heading in migration guide 2024-06-27 08:40:38 +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
marko-bekhta ea468e774b Add a PR template 2024-06-26 14:07:12 +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
marko-bekhta bf3b7e09e7 Remove `DomesticCat` entity type name as it's not in the docs anymore 2024-06-25 17:44:37 +02:00
dependabot[bot] 4326f61fad Bump com.gradle.common-custom-user-data-gradle-plugin
Bumps com.gradle.common-custom-user-data-gradle-plugin from 2.0.1 to 2.0.2.

---
updated-dependencies:
- dependency-name: com.gradle.common-custom-user-data-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 16:33:37 +01:00
Yoann Rodière a1962fd629 HHH-18284 Test StaticClassLists more extensively 2024-06-25 16:32:42 +01:00
Yoann Rodière e9772c5c02 HHH-18284 Add pre/post-upsert listener classes to StaticClassLists.typesNeedingArrayCopy 2024-06-25 16:32:42 +01:00