Juergen Hoeller
2e65c1dfe6
Merge branch '7.0.x'
2026-05-29 13:31:01 +02:00
Juergen Hoeller
175c1f9437
Runtime compatibility with JPA 4.0 M4
...
Closes gh-36784
2026-05-29 13:28:46 +02:00
Juergen Hoeller
8fe1de4595
Polishing
2026-05-13 19:46:07 +02:00
Juergen Hoeller
5ab4c5c5d9
Add support for JPA 4.0 @PersistenceAgent injection
...
Closes gh-36264
2026-05-13 19:41:21 +02:00
Juergen Hoeller
b7882d703c
Expose package-info classes through PersistenceUnitInfo#getAllClassNames()
...
Closes gh-36784
2026-05-12 13:09:51 +02:00
Yanming Zhou
bfb88cfc1c
Remove unnecessary invocations of toString()
...
Closes gh-36709
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2026-04-27 11:27:29 +03:00
Sam Brannen
a40ec44cb7
Convert assertThat(x instanceof X).isTrue() to assertThat(x).isInstanceOf()
...
Search: assertThat\((.+?) instanceof (.+?)\)(.*?)\.isTrue\(\)
Replace: assertThat($1)$3.isInstanceOf($2.class)
See gh-36504
2026-03-20 10:54:23 +01:00
Sam Brannen
4c14abf0cd
Remove obsolete "test" prefix from test method names
...
Although this commit also changes the visibility of some test methods
to package-private, the remainder of that task will be addressed in
conjunction with gh-36496.
Closes gh-36495
2026-03-18 18:16:15 +01:00
Sam Brannen
17699103dc
Consistently use American English spelling
...
Since the Spring Framework uses American English spelling, this commit
updates Javadoc and the reference manual to ensure consistency in that
regard. However, there are two exceptions to this rule that arise due
to their use within a technical context.
- We use "cancelled/cancelling" instead of "canceled/canceling" in
numerous places (including error messages).
- We use "implementor" instead of "implementer".
Closes gh-36470
2026-03-15 17:04:23 +01:00
Juergen Hoeller
4734c15d81
Polishing
2026-03-03 23:28:37 +01:00
Juergen Hoeller
36815f4021
Add support for JPA 4.0 FlushModeType.EXPLICIT
...
Includes defensive nullable field access in EclipseLinkConnectionHandle.
Closes gh-36401
2026-02-28 19:37:27 +01:00
Sam Brannen
59b9057e59
Polishing
2026-02-25 10:52:28 +01:00
Juergen Hoeller
394a97d7e0
Add setPackagesToScan to LocalEntityManagerFactoryBean (and make setDataSource work)
...
Includes fix for consistent PersistenceException in case of no unit found for name.
Includes proper tests for Local(Container)EntityManagerFactoryBean with scan setup.
Closes gh-36270
Closes gh-36271
2026-02-08 17:54:02 +01:00
Juergen Hoeller
05ffe8249f
Adapt to getAllClassNames SPI (post JPA 4.0 M1)
...
See gh-35705
2026-02-07 21:01:25 +01:00
Juergen Hoeller
3666ad9d7f
Derive StatelessSession from primary Session in HibernateJpaDialect
...
This is analogous to LocalSessionFactoryBean's SpringSessionContext.
See gh-36025
2026-02-06 00:18:00 +01:00
Juergen Hoeller
652d509cfc
Avoid direct javadoc reference to JPA 4.0 EntityAgent class
...
See gh-36025
2026-02-05 20:13:20 +01:00
Juergen Hoeller
153c378bb2
Polishing
2026-02-05 20:01:47 +01:00
Juergen Hoeller
cdbaa7f3a7
Early support for JPA 4.0 EntityAgent (autowiring a shared proxy)
...
Includes skipping of isOpen check on close where easily possible.
Closes gh-36025
2026-02-05 20:01:26 +01:00
Juergen Hoeller
ac243fae65
Runtime compatibility with JPA 4.0.0-M1 and Hibernate ORM 8.0.0.Alpha1
...
Closes gh-35705
2026-02-03 19:13:48 +01:00
Juergen Hoeller
80a57c2468
Consistent references to Hibernate ORM 7.x
2026-01-27 20:46:30 +01:00
Juergen Hoeller
02e05b40b0
Polishing
2026-01-27 20:30:46 +01:00
Juergen Hoeller
c8c99d0464
Support JtaTransactionManager/SpringBeanContainer on HibernateJpaVendorAdapter
...
Makes ConfigurableJtaPlatform public and removes outdated WebSphere UOW check.
Closes gh-36216
2026-01-27 20:30:21 +01:00
Juergen Hoeller
fd3bbb057e
Polishing
2026-01-25 10:42:13 +01:00
Juergen Hoeller
22cf7958a5
Revise setPersistenceUnitName javadoc
...
Closes gh-36205
2026-01-25 10:38:24 +01:00
Juergen Hoeller
2b96a61063
Apply transactionIsolationLock in EclipseLinkConnectionHandle as well
...
Closes gh-36165
2026-01-16 23:12:07 +01:00
Juergen Hoeller
62fd09dfa5
Polishing
2026-01-14 22:05:06 +01:00
Yanming Zhou
d3a385d222
Retain original requested bean class for SpringContainedBean
...
Closes GH-36115
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2026-01-09 19:52:22 +01:00
Sam Brannen
e94aaab288
Improve exception message for JPA entity scanning
2026-01-07 13:13:27 +01:00
Juergen Hoeller
6d5a512d90
Suppress serial warning
2025-12-16 13:54:40 +01:00
Juergen Hoeller
e2ab9cd5da
Use composed cache key for different SmartFactoryBean object types
...
Closes gh-35974
2025-12-09 12:59:19 +01:00
Brian Clozel
e0fd42981a
Fix compilation warnings
...
See gh-35711
2025-11-17 15:24:44 +01:00
Juergen Hoeller
8999336458
Make SessionHolder publicly accessible for external resource management
...
Closes gh-35799
2025-11-12 14:14:04 +01:00
Sébastien Deleuze
687c40454f
Merge branch '6.2.x'
2025-11-11 13:54:35 +01:00
Sébastien Deleuze
5aec239261
Add hints for entities package-private methods
...
Closes gh-35711
2025-11-11 13:52:59 +01:00
Juergen Hoeller
73dfd08526
Merge branch '6.2.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/context/annotation/CommonAnnotationBeanPostProcessor.java
# spring-core/src/main/java/org/springframework/core/BridgeMethodResolver.java
2025-11-08 10:03:18 +01:00
Juergen Hoeller
6f81cb625c
Avoid unnecessary bridge method resolution around getMostSpecificMethod
...
Closes gh-35780
2025-11-08 09:16:31 +01:00
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
2025-10-26 16:06:08 +01:00
Juergen Hoeller
b85993c7cb
Add test for HibernatePersistenceConfiguration
...
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
...
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
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
...
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