Skip to content

Commit cd3b223

Browse files
authored
Merge branch 'main' into HHH-19056
2 parents b7a1c2a + 95779d4 commit cd3b223

File tree

487 files changed

+14346
-9492
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

487 files changed

+14346
-9492
lines changed

.github/hibernate-github-bot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,9 @@ licenseAgreement:
7575
name: license-agreement
7676
organization: hibernate
7777
titlePattern: ".*"
78+
branches:
79+
enabled: true
80+
label: "%s"
81+
ignore:
82+
- user: dependabot[bot]
83+
titlePattern: ".*"

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210
${{ steps.cache-key.outputs.buildtool-monthly-cache-key }}-
211211
212212
- id: create_database
213-
uses: loiclefevre/test@03ce1d1ee2313b45249e7bf6b84dc0f4333cdd77 # v1.0.18
213+
uses: loiclefevre/test@ce2f5049188a384c17ffcfcb8c8d04cf118e2cd7 # v1.0.20
214214
with:
215215
oci-service: ${{ matrix.rdbms }}
216216
action: create
@@ -231,7 +231,7 @@ jobs:
231231
run: ./ci/build-github.sh
232232
shell: bash
233233

234-
- uses: loiclefevre/test@03ce1d1ee2313b45249e7bf6b84dc0f4333cdd77 # v1.0.18
234+
- uses: loiclefevre/test@ce2f5049188a384c17ffcfcb8c8d04cf118e2cd7 # v1.0.20
235235
if: always()
236236
with:
237237
oci-service: ${{ matrix.rdbms }}

README.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ image:https://img.shields.io/maven-central/v/org.hibernate.orm/hibernate-core.sv
44
image:https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.hibernate.org%2Fjob%2Fhibernate-orm-pipeline%2Fjob%2Fmain%2F&style=for-the-badge[Build Status,link=https://ci.hibernate.org/job/hibernate-orm-pipeline/job/main/]
55
image:https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?style=for-the-badge&logo=gradle[Develocity,link=https://develocity.commonhaus.dev/scans?search.rootProjectNames=Hibernate%20ORM]
66
image:https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jvm-repo-rebuild/reproducible-central/master/content/org/hibernate/orm/hibernate-core/badge.json&style=for-the-badge[Reproducible Builds,link=https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/hibernate/orm/hibernate-core/README.md]
7+
image:https://testpilot.oracle.com/ords/testpilot/badges/github/hibernate/hibernate-orm[Oracle Test Pilot,link=https://testpilot.oracle.com/]
78

89
Hibernate ORM is a powerful object/relational mapping solution for Java, and makes it easy to develop persistence logic for applications, libraries, and frameworks.
910

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ buildscript {
1919
plugins {
2020
id "local.module"
2121

22-
id "org.hibernate.build.version-injection" version "2.0.0" apply false
22+
id "org.hibernate.build.version-injection" version "2.1.0" apply false
2323
id 'org.hibernate.orm.database-service' apply false
2424
id 'biz.aQute.bnd' version '7.1.0' apply false
2525

changelog.txt

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,104 @@ Hibernate 7 Changelog
33

44
Note: Please refer to JIRA to learn more about each issue.
55

6+
Changes in 7.2.0.CR1 (October 08, 2025)
7+
------------------------------------------------------------------------------------------------------------------------
8+
9+
https://hibernate.atlassian.net/projects/HHH/versions/34530
10+
11+
** Bug
12+
* [HHH-19831] - LeakingStatementCachingTest hangs
13+
* [HHH-19813] - Incorrect default values for 'enableDirtyTracking' and 'enableLazyInitialization' in hibernate-maven-plugin
14+
* [HHH-19795] - SqmFunctionRegistry does not provide a way to escape ? in registerPattern
15+
* [HHH-19790] - Fix Gradle Worker ID gaps for parallel testing
16+
* [HHH-19781] - Subsequent uses of Criteria SelectionSpecification lead to duplicated specifications
17+
* [HHH-19780] - OracleDatabaseCleaner must not fail when not finding an object to drop
18+
* [HHH-19775] - type(:entity) in JPQL
19+
* [HHH-19771] - transaction context sharing between stateful and stateless sessions
20+
* [HHH-19759] - joining a map key of basic type
21+
* [HHH-19740] - Collection table deletion for table per class subclass entity fails with UnknownTableReferenceException
22+
* [HHH-19738] - JDBC password logged when specified via jakarta.persistence.jdbc.password
23+
* [HHH-19723] - Hibernate-testing depends on outdated Jakarta libraries, leading to compilation issues for Jakarta Data repositories
24+
* [HHH-19721] - Jakarta Data is missing from hibernate-platform (BOM)
25+
* [HHH-19718] - SQL @Formula with function call nested inside cast()
26+
* [HHH-19716] - Collection event listeners may be missing collection owners in the persistent collection (PersistentCollection#getOwner==null)
27+
* [HHH-19706] - Composite @Id with a generic part in @MappedSuperclass
28+
* [HHH-19671] - Wrong warning aboute illegal use of @Embeddable with callback on entities with @IdClass
29+
* [HHH-19659] - (Kotlin / Panache) Entity with @IdClass and @PrePersist/@PreUpdate misinterpreted as @Embeddable
30+
* [HHH-19630] - Hibernate Processor may fail if the return type is a single entity and annotated with multiple annotations
31+
* [HHH-19629] - Hibernate Processor may fail when repository method parameter has more than one annotation (e.g. multiple constraints)
32+
* [HHH-19627] - MetaModel fields not generated for java.sql.Clob fields
33+
* [HHH-19276] - Native query with enum list param leads to OutOfMemory
34+
* [HHH-18993] - [Docs] Possible outdated documentation and update suggestions in the user guide
35+
* [HHH-14082] - Hibernate cannot determine it's core version in modular configuration
36+
37+
** Deprecation
38+
* [HHH-19751] - Deprecate AzureSQLServerDialect for removal
39+
40+
** Improvement
41+
* [HHH-19832] - Upgrade to JUnit 6.0
42+
* [HHH-19829] - Deprecate MultiIdentifierLoadAccess and byMultipleIds
43+
* [HHH-19810] - Remove Joda-Time and use LocalDate of jdk in testing
44+
* [HHH-19808] - Automatic closing for child session with shared connection/tx
45+
* [HHH-19801] - SchemaTruncator should reset sequences
46+
* [HHH-19791] - Avoid dropping/creating database objects when data is only read (SELECT)
47+
* [HHH-19782] - Oracle support for locking across joins
48+
* [HHH-19776] - Migrate all logging to the newer style "subsystem" logging
49+
* [HHH-19774] - Automatic flushing for child session with shared connection/tx
50+
* [HHH-19772] - change to semantics of interceptor reuse with shared session builders
51+
* [HHH-19762] - Enable Parallel Testing for OTP
52+
* [HHH-19757] - many registry operations have unbound type parameter in return type
53+
* [HHH-19755] - Improve AntlrPlugin
54+
* [HHH-19754] - Migrate XjcPlugin to using direct Java calls
55+
* [HHH-19752] - Allow setting MariaDB/MySQL storage engine not only using System properties but also configuration properties
56+
* [HHH-19744] - Clarify and document the wildfly-transaction-client integration
57+
* [HHH-19743] - Deprecate JBossStandAloneJtaPlatform in favor of a new, clearly Narayana-specific implementation
58+
* [HHH-19737] - Support Envers with StatelessSession
59+
* [HHH-19733] - Extract constants often reused in ByteBubby processing
60+
* [HHH-19730] - Avoid bulk-delete collection cleanup when delete cascaded
61+
* [HHH-19717] - CockroachDB supports insert and update returning clause
62+
* [HHH-19711] - Improve mapped-by + join-column exception message with the full property path
63+
* [HHH-19702] - ConnectionProviders don't need "Impl" in name
64+
* [HHH-19694] - Enhanced support for older Informix
65+
* [HHH-19690] - Migrate Atlas to OTP
66+
* [HHH-19679] - Support binary, float16 and sparse vector types
67+
* [HHH-19602] - Adjust JdbcOperation to allow more-than-one statement
68+
* [HHH-19556] - improvements to SQM equality
69+
* [HHH-19554] - Support for lock timeout as Connection setting
70+
* [HHH-19514] - Follow-on locking locks more than it should
71+
* [HHH-19513] - Follow-on locking does not lock element-collection tables
72+
* [HHH-19388] - Process <database-object> in mapping.xml
73+
* [HHH-18546] - Clean up any hanging BulkOperationCleanupAction after-txn callbacks on Session close
74+
* [HHH-14892] - Parallel test with GRADLE
75+
* [HHH-13843] - Performance schema migration
76+
* [HHH-9636] - Have JPA PessimisticLockScope.EXTENDED propagate the same LockModeType
77+
78+
** New Feature
79+
* [HHH-19794] - SchemaManager.resynchronizeGenerators()
80+
* [HHH-19735] - Add vector support for SQL Server
81+
* [HHH-19710] - Add vector support for SAP HANA Cloud
82+
* [HHH-19708] - support for read/write replicas
83+
* [HHH-19705] - Add vector support for DB2
84+
* [HHH-19257] - Introduce @EmbeddedTable
85+
* [HHH-18973] - Add Vector support type for MySQL
86+
* [HHH-3404] - Regular expression matching in HQL
87+
88+
** Sub-task
89+
* [HHH-19820] - Make sure that the enhancer is not doing anything if all the enablement parameters are false
90+
* [HHH-19817] - Add the JavaDoc Style documentation appropriate for Maven Plugins
91+
* [HHH-19816] - Add Integration Tests for the Maven Enhance Plugin without using Maven Invoker
92+
* [HHH-19815] - Review and Complete the documentation of the Enhance Plugin in the User's Guide
93+
* [HHH-19814] - Document the Enhance Plugin changes in the Migration Guide
94+
* [HHH-19336] - Proper implementation for JPA PessimisticLockScope
95+
96+
** Task
97+
* [HHH-19812] - Improvements on the Maven Enhance Plugin
98+
* [HHH-19811] - Upgrade H2 to 2.4.240
99+
* [HHH-19728] - Update SQL Server CI testing to 2025
100+
* [HHH-19726] - Update MariaDB CI testing to 12.0
101+
* [HHH-19009] - Correction of the inheritance syntax used with GraphParser in EntityGraphsTest tests
102+
103+
6104
Changes in 7.1.0.Final (August 08, 2025)
7105
------------------------------------------------------------------------------------------------------------------------
8106

ci/release/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ pipeline {
216216
string(credentialsId: 'release.gpg.passphrase', variable: 'JRELEASER_GPG_PASSPHRASE'),
217217
string(credentialsId: 'Hibernate-CI.github.com', variable: 'JRELEASER_GITHUB_TOKEN')
218218
]) {
219-
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) {
219+
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'jenkins.in.relation.to', 'hibernate-ci.frs.sourceforge.net']) {
220220
// performs documentation upload and Sonatype release
221221
// push to github
222222
withEnv([

dialects.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
= Dialects
2+
:toc2:
3+
:toclevels: 1
4+
:sectanchors:
25

36
A dialect is a class that provides information about the specifics of a database and translators for the SQL dialect of the database.
47

@@ -70,4 +73,4 @@ The requirements for the database server are:
7073
* Access via SSH through confidential credentials
7174

7275
Get in touch with the Hibernate team on https://hibernate.zulipchat.com/#narrow/stream/132096-hibernate-user[Zulip]
73-
if you want to request the move of your dialect to hibernate-core.
76+
if you want to request the move of your dialect to hibernate-core.

docker_db.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ mariadb_setup() {
219219
}
220220

221221
postgresql() {
222-
postgresql_17
222+
postgresql_18
223223
}
224224

225225
postgresql_13() {
@@ -262,6 +262,14 @@ postgresql_17() {
262262
postgresql_setup
263263
}
264264

265+
postgresql_18() {
266+
$CONTAINER_CLI rm -f postgres || true
267+
$CONTAINER_CLI run --name postgres -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -p5432:5432 --tmpfs /var/lib/postgresql -d ${DB_IMAGE_POSTGRESQL_17:-docker.io/postgis/postgis:18-3.6} \
268+
-c fsync=off -c synchronous_commit=off -c full_page_writes=off -c shared_buffers=256MB -c maintenance_work_mem=256MB -c max_wal_size=1GB -c checkpoint_timeout=1d
269+
$CONTAINER_CLI exec postgres bash -c '/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y && apt install -y postgresql-18-pgvector'
270+
postgresql_setup
271+
}
272+
265273
postgresql_setup() {
266274
databases=()
267275
for n in $(seq 1 $DB_COUNT)

0 commit comments

Comments
 (0)