Commit Graph

18940 Commits

Author SHA1 Message Date
Č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
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