Go to file
Sam Brannen 934394eb2a Document AOT workaround for @⁠PersistenceContext & @⁠PersistenceUnit in tests
Although @⁠PersistenceContext and @⁠PersistenceUnit are still not
supported in tests running in AOT mode, as of Spring Framework 7.0,
developers can inject an EntityManager or EntityManagerFactory into
tests using @⁠Autowired instead of @⁠PersistenceContext and
@⁠PersistenceUnit, respectively.

See commit 096303c477
See gh-33414
Closes gh-31442
2025-11-05 14:30:41 +01:00
.github Upgrade CI workflow from Java 24 to Java 25 2025-10-02 10:19:42 +02:00
.idea
buildSrc Upgrade to Groovy 5.0.2, Tomcat 11.0.13, Jetty 12.1.3, Checkstyle 12.1.1 2025-10-30 15:33:15 +01:00
framework-api Upgrade to Gradle 9.2 2025-10-29 17:06:29 +01:00
framework-bom
framework-docs Document AOT workaround for @⁠PersistenceContext & @⁠PersistenceUnit in tests 2025-11-05 14:30:41 +01:00
framework-platform Merge branch '6.2.x' 2025-11-05 12:54:30 +01:00
gradle Upgrade to Gradle 9.2 2025-10-29 17:06:29 +01:00
integration-tests
spring-aop Remove outdated Spring version mentions 2025-10-28 13:58:09 +01:00
spring-aspects
spring-beans Clean up warnings in tests 2025-11-01 14:38:39 +01:00
spring-context Merge branch '6.2.x' 2025-11-05 12:54:30 +01:00
spring-context-indexer Remove deprecation on CandidateComponentsIndex(Loader) 2025-10-09 20:26:59 +02:00
spring-context-support Remove outdated Spring version mentions 2025-10-28 13:58:09 +01:00
spring-core Merge branch '6.2.x' 2025-11-01 12:53:27 +01:00
spring-core-test
spring-expression Fix test failure caused by previous commit 2025-10-24 13:18:40 +01:00
spring-instrument
spring-jdbc Polishing 2025-11-02 17:38:50 +01:00
spring-jms Add builder-based constructors to Jackson 3 infrastructure 2025-10-15 11:49:55 +02:00
spring-messaging Polish suspending functions support in RSocketServiceMethod 2025-10-30 10:51:58 +01:00
spring-orm Merge branch '6.2.x' 2025-11-05 12:54:30 +01:00
spring-oxm Merge branch '6.2.x' 2025-10-28 15:39:02 +01:00
spring-r2dbc Adapt to Reactor 3.8 JSpecify annotations 2025-10-13 09:01:47 +02:00
spring-test Document AOT workaround for @⁠PersistenceContext & @⁠PersistenceUnit in tests 2025-11-05 14:30:41 +01:00
spring-tx Merge branch '6.2.x' 2025-11-05 12:54:30 +01:00
spring-web Expose handler to ApiVersionDeprecationHandler implementations 2025-11-05 12:23:59 +00:00
spring-webflux Expose handler to ApiVersionDeprecationHandler implementations 2025-11-05 12:23:59 +00:00
spring-webmvc Expose handler to ApiVersionDeprecationHandler implementations 2025-11-05 12:23:59 +00:00
spring-websocket Update Principal check in TransportHandlingSockJsService 2025-11-05 12:23:59 +00:00
src
.editorconfig
.gitattributes
.gitignore
.sdkmanrc
CONTRIBUTING.md
LICENSE.txt
README.md Polishing 2025-11-03 11:14:30 +01:00
SECURITY.md
build.gradle Upgrade nullability plugin to 0.0.8 2025-11-05 11:07:53 +01:00
gradle.properties Upgrade to Kotlin 2.2.21 2025-10-29 17:09:58 +01:00
gradlew
gradlew.bat
import-into-eclipse.md
import-into-idea.md
settings.gradle

README.md

Spring Framework Build Status Revved up by Develocity

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section of the reference documentation for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@spring.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), GitHub wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Micro-Benchmarks

See the Micro-Benchmarks wiki page.

Build from Source

See the Build from Source wiki page and the CONTRIBUTING.md file.

Continuous Integration Builds

CI builds are defined with GitHub Actions workflows.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on 𝕏. In-depth articles can be found at The Spring Blog, and releases are announced via our releases feed.

License

The Spring Framework is released under version 2.0 of the Apache License.