Juergen Hoeller
585b4e08e8
Merge branch '6.2.x'
...
# Conflicts:
# framework-platform/framework-platform.gradle
# spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/PersistenceManagedTypesBeanRegistrationAotProcessor.java
# spring-orm/src/test/java/org/springframework/orm/jpa/persistenceunit/PersistenceManagedTypesBeanRegistrationAotProcessorTests.java
2025-11-05 12:54:30 +01:00
Juergen Hoeller
0243059f53
Polishing
2025-11-05 12:22:56 +01:00
Sébastien Deleuze
694224f1a6
Remove outdated Spring version mentions
...
Close gh-35696
2025-10-28 13:58:09 +01:00
Sam Brannen
24b50650d7
Suppress warnings
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-10-26 16:06:08 +01:00
Juergen Hoeller
b85993c7cb
Add test for HibernatePersistenceConfiguration
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
See gh-35662
2025-10-19 10:45:57 +02:00
Juergen Hoeller
228662ad9f
Derive StatelessSession from transactional Session on Hibernate 7.2
...
Closes gh-35664
See gh-7184
2025-10-19 10:45:43 +02:00
Juergen Hoeller
c063249bd4
Consistent support for JPA 3.2 transaction timeout
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
Closes gh-35663
2025-10-18 15:44:41 +02:00
Juergen Hoeller
b261b74793
Merge branch '6.2.x'
...
# Conflicts:
# spring-aop/src/main/java/org/springframework/aop/framework/CoroutinesUtils.java
# spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/DefaultPersistenceUnitManager.java
# spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/MutablePersistenceUnitInfo.java
# spring-orm/src/test/java/org/springframework/orm/jpa/persistenceunit/PersistenceXmlParsingTests.java
2025-10-18 15:32:19 +02:00
Juergen Hoeller
765e30c3a6
Polishing
Backport Bot / build (push) Has been cancelled
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
Deploy Docs / Dispatch docs deployment (push) Has been cancelled
Details
Build and Deploy Snapshot / Verify (push) Has been cancelled
Details
2025-10-18 15:30:15 +02:00
Juergen Hoeller
beb224e3f9
Add support for JPA 3.2 PersistenceConfiguration
...
See gh-35662
2025-10-18 15:05:38 +02:00
Sam Brannen
cfb268f6de
Suppress warning in SmartPersistenceUnitInfoInvocationHandler
2025-10-18 13:58:11 +02:00
Brian Clozel
44de925c5e
Add reflection hints for SpringPersistenceUnitInfo
...
Fixes gh-35655
2025-10-17 14:34:15 +02:00
Juergen Hoeller
e901516732
Make SpringPersistenceUnitInfo public for custom bootstrapping purposes
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
See gh-35622
2025-10-13 23:24:46 +02:00
Juergen Hoeller
d216236aac
Revise PersistenceUnitInfo management for compatibility with JPA 3.2/4.0
...
Closes gh-35622
2025-10-13 14:23:31 +02:00
Juergen Hoeller
b4dcb36b21
Align currentStatelessSession() implementation with currentSession()
...
See gh-7184
2025-10-13 14:17:07 +02:00
Juergen Hoeller
fef5627329
Merge branch '6.2.x'
...
# Conflicts:
# framework-platform/framework-platform.gradle
# spring-core/src/main/java/org/springframework/core/task/SyncTaskExecutor.java
2025-10-11 16:09:47 +02:00
Juergen Hoeller
83efe8cff4
Remove deprecation on CandidateComponentsIndex(Loader)
...
See gh-35472
2025-10-11 15:10:42 +02:00
Juergen Hoeller
080bca0b23
Deprecate TransactionCallbackWithoutResult
...
Closes gh-35606
2025-10-11 13:25:40 +02:00
Sébastien Deleuze
7635ac38f6
Use uppercase for classpath-related static final field names
...
Closes gh-35525
2025-09-22 18:32:14 +02:00
Sam Brannen
0c61ac956b
Add missing @Override annotations
...
... and suppress "serial" warnings
2025-09-22 13:20:37 +02:00
Sébastien Deleuze
7a5d3a55fe
Refine EntityManagerRuntimeHints for Hibernate 7.1+
...
This commit adds support for Hibernate 7.1+ SqmQueryImpl class in
EntityManagerRuntimeHints, keeps the support for the former
QuerySqmImpl class for Hibernate 7.0 compatibility and adds a
related test.
Closes gh-35462
2025-09-11 15:24:55 +02:00
Juergen Hoeller
5b387615c6
Clarify intended nestedTransactionAllowed default in JpaTransactionManager
...
Closes gh-35212
2025-09-10 18:06:44 +02:00
Juergen Hoeller
59804ab396
Align JpaTransactionManager default for nestedTransactionAllowed flag
...
Closes gh-35457
2025-09-10 17:41:25 +02:00
Juergen Hoeller
876b7d4209
Upgrade to Hibernate ORM 7.1
...
Closes gh-35308
2025-08-11 22:43:02 +02:00
Juergen Hoeller
03a8933f58
Add transactional support for StatelessSession (next to regular Session)
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
Exposes JPA-style shared proxy instances through LocalSessionFactoryBean.
Closes gh-7184
2025-08-01 17:18:43 +02:00
Juergen Hoeller
22a23322f3
Polishing
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-07-10 20:05:47 +02:00
Sam Brannen
bb7c497bdd
Remove obsolete code from internal HibernateTransactionObject
...
See gh-35111
2025-06-29 16:33:01 +02:00
Juergen Hoeller
2e9e45ee55
Restore translation of IllegalArgumentException for JPA
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
See gh-35111
2025-06-25 22:39:18 +02:00
Juergen Hoeller
b3dc75265d
Merge branch '6.2.x'
2025-06-25 22:36:44 +02:00
Juergen Hoeller
511739e3de
Add missing test for IllegalArgumentException
...
Backport Bot / build (push) Has been cancelled
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
Deploy Docs / Dispatch docs deployment (push) Has been cancelled
Details
Build and Deploy Snapshot / Verify (push) Has been cancelled
Details
See gh-35111
2025-06-25 22:35:26 +02:00
Juergen Hoeller
0bee65482f
Document actual status of orm.hibernate5 and Hibernate JPA support
...
See gh-35111
2025-06-25 18:59:06 +02:00
Juergen Hoeller
d47f1a1749
Migrate orm.hibernate5 to orm.jpa.hibernate package for Hibernate ORM 7.0
...
Closes gh-35111
2025-06-25 18:07:15 +02:00
Juergen Hoeller
90c875144a
Merge branch '6.2.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/context/aot/BeanFactoryInitializationAotContributions.java
# spring-context/src/test/java/org/springframework/context/aot/ApplicationContextAotGeneratorTests.java
# spring-orm/src/main/java/org/springframework/orm/hibernate5/HibernateQueryException.java
2025-06-24 22:01:58 +02:00
Juergen Hoeller
b6aa6899a8
Polishing
Backport Bot / build (push) Waiting to run
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-06-24 21:58:39 +02:00
Juergen Hoeller
04f3975e0f
Support for qualified EntityManager/EntityManagerFactory injection (JPA 3.2)
...
Closes gh-33414
2025-06-24 18:51:18 +02:00
Spring Builds
16edf9867a
Update copyright headers in source files
...
This commit updates Java, Kotlin, and Groovy source files to use the
"<year>-present" pattern in copyright headers.
Closes gh-35070
2025-06-17 16:23:50 +02:00
Spring Builds
aee29b7f30
Update copyright headers in source files
...
This commit updates Java, Kotlin, and Groovy source files to use the
"<year>-present" pattern in copyright headers.
Closes gh-35070
2025-06-17 15:54:58 +02:00
rstoyanchev
84a4b44cf0
Polishing contribution
...
Closes gh-34807
2025-06-11 15:50:32 +01:00
hgh1472
9d3de4ff68
Remove duplicated setup
...
See gh-34807
Signed-off-by: hgh1472 <hgh1472@naver.com>
2025-06-11 15:50:32 +01:00
Juergen Hoeller
58246ec5ec
Merge branch '6.2.x'
2025-03-21 15:54:43 +01:00
Juergen Hoeller
d8f8e76791
Check potentially more specific HibernateException cause as well
...
Backport Bot / build (push) Has been cancelled
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
Deploy Docs / Dispatch docs deployment (push) Has been cancelled
Details
Build and Deploy Snapshot / Verify (push) Has been cancelled
Details
Closes gh-34633
2025-03-21 15:53:24 +01:00
Juergen Hoeller
beb3a91847
Upgrade to Hibernate ORM 7.0.0.Beta4
...
Includes Hamcrest 3.0
See gh-33750
2025-03-11 19:17:00 +01:00
Sébastien Deleuze
7bc712e304
Upgrade NullAway to 0.12.4
...
This commit also slightly refines nullness but without
significant user-side impact expected.
Closes gh-34525
2025-03-03 08:45:54 +01:00
Brian Clozel
f85752a956
Fix hints and predicates for Field reflective access
...
This commit revisits the arrangement for Field hints after changes made
in gh-34239.
Closes gh-34294
2025-01-21 20:05:12 +01:00
Sébastien Deleuze
2f8ff7eb41
Specify generic type nullness in spring-orm
...
See gh-34140
2025-01-14 12:35:02 +01:00
Brian Clozel
d28c0396c9
Update runtime hints predicates after GraalVM changes
...
As of gh-33847, method and field introspection is included by default
when a type is registered for reflection.
Many methods in ReflectionHintsPredicates are now mostly useless as their
default behavior checks for introspection.
This commit deprecates those methods and promotes instead invocation
variants. During the upgrade, developers should replace it for an
`onType` check if only reflection is required. If they were checking for
invocation, they should use the new 'onXInvocation` method.
Closes gh-34239
2025-01-13 15:34:34 +01:00
Sébastien Deleuze
73b24b6f7b
Refine null-safety in the spring-orm module
...
Closes gh-34159
2024-12-26 16:21:17 +01:00
Sébastien Deleuze
bc5d771a06
Switch to JSpecify annotations
...
This commit updates the whole Spring Framework codebase to use JSpecify
annotations instead of Spring null-safety annotations with JSR 305
semantics.
JSpecify provides signficant enhancements such as properly defined
specifications, a canonical dependency with no split-package issue,
better tooling, better Kotlin integration and the capability to specify
generic type, array and varargs element null-safety. Generic type
null-safety is not defined by this commit yet and will be specified
later.
A key difference is that Spring null-safety annotations, following
JSR 305 semantics, apply to fields, parameters and return values,
while JSpecify annotations apply to type usages. That's why this
commit moves nullability annotations closer to the type for fields
and return values.
See gh-28797
2024-12-19 11:07:23 +01:00
Juergen Hoeller
5cbb5d4d70
Upgrade to Hibernate ORM 7.0.0.Beta3 and Validator 9.0.0.CR1
...
Using relocated Maven coordinates.
See gh-33750
2024-12-15 14:37:54 +01:00
Juergen Hoeller
54a90b20ed
Avoid logger serialization behind shared EntityManager proxy
...
See gh-34084
2024-12-12 19:48:21 +01:00