Go to file
Carlos Corbacho e95e4423bb Do not swallow exceptions on failing to release a savepoint
By swallowing the exception on failing to release a savepoint, we are hiding
client code from database errors that they may need to be aware of or handle.

e.g. if the connection is now dead when trying to release the savepoint, by
swallowing the exception here, client code has no way of knowing this now until
the next operation on the database, which will yield a confusing message about
the problem and obscures where the failure occurred as it will be in a different
part of their code that throws any exception.

Swallowing the exception here is also inconsistent with all the other database
calls in the Transaction Object, where we always raise an exception up and let
client code decide how to handle the error.
2024-06-09 13:08:57 +02:00
.github Add update-antora-ui-spring.yml workflow 2024-05-27 16:56:13 +02:00
buildSrc Merge branch '6.1.x' 2024-06-07 11:44:36 +02:00
ci Merge branch '6.1.x' 2024-04-29 13:40:51 +02:00
framework-api Polish "Replace deprecated usage of project.buildDir" 2023-12-18 16:24:02 +01:00
framework-bom Guard against new Spring modules in ApiDiff task 2022-07-28 10:51:53 +02:00
framework-docs Merge branch '6.1.x' 2024-06-07 13:45:19 +02:00
framework-platform Merge branch '6.1.x' 2024-06-05 00:02:33 +02:00
gradle Merge branch '6.1.x' 2024-05-24 15:42:39 +02:00
integration-tests Merge branch '6.1.x' 2024-05-23 17:08:22 +02:00
spring-aop Merge branch '6.1.x' 2024-06-06 20:47:02 +02:00
spring-aspects Merge branch '6.1.x' 2024-06-06 20:47:02 +02:00
spring-beans Add BeanFactoryInitializer callback before preInstantiateSingletons 2024-06-04 22:50:42 +02:00
spring-context Merge branch '6.1.x' 2024-06-07 18:42:10 +02:00
spring-context-indexer Polish 2024-01-17 18:41:15 +01:00
spring-context-support Merge branch '6.1.x' 2024-05-07 15:53:00 +02:00
spring-core Avoid issues with system line separator in tests 2024-06-05 12:36:58 +02:00
spring-core-test Merge branch '6.1.x' 2024-04-23 15:34:49 +02:00
spring-expression Polish documentation and implementation of SpEL's Indexer 2024-05-28 15:29:54 +02:00
spring-instrument Ensure all packages declare package-info.java with null-safety annotations 2023-03-10 17:33:52 +01:00
spring-jcl Log4jLog re-resolves ExtendedLogger on deserialization 2023-11-09 11:46:22 +01:00
spring-jdbc Do not swallow exceptions on failing to release a savepoint 2024-06-09 13:08:57 +02:00
spring-jms Merge branch '6.1.x' 2024-05-10 12:29:49 +02:00
spring-messaging Use default phase 0 for WebSocket messaging 2024-05-21 15:49:38 +01:00
spring-orm Merge branch '6.1.x' 2024-06-06 10:06:24 +02:00
spring-oxm Merge branch '6.1.x' 2024-05-21 11:17:16 +02:00
spring-r2dbc Remove unneeded `@SuppressWarnings("NullAway")` 2024-05-06 18:28:54 +02:00
spring-test Review TCF cache support for bean override 2024-06-07 16:44:57 +02:00
spring-tx Merge branch '6.1.x' 2024-05-07 15:53:00 +02:00
spring-web Merge branch '6.1.x' 2024-06-07 19:02:53 +02:00
spring-webflux Avoid issues with system line separator in tests 2024-06-05 12:36:58 +02:00
spring-webmvc Handle ResponseStatusException thrown by MVC functional endpoints 2024-06-06 14:21:17 +02:00
spring-websocket Expose WebSocketMessageBrokerStats contracts 2024-05-27 16:06:32 +02:00
src Revert "Disable warnings for deprecated for removal in Eclipse" 2024-06-06 11:44:09 +02:00
.editorconfig Add EditorConfig 2017-06-12 08:07:54 +02:00
.gitattributes Ensure line endings for binary files are not modified in Git 2019-10-18 11:56:18 +02:00
.gitignore Modernize Antora Build 2024-05-22 10:20:20 +02:00
.sdkmanrc Upgrade to Java 17.0.11 2024-04-22 12:13:01 +02:00
CODE_OF_CONDUCT.adoc URL Cleanup 2019-03-21 15:08:55 -05:00
CONTRIBUTING.md Update regarding Antora, etc. 2023-07-07 11:18:43 +02:00
LICENSE.txt Add LICENSE.txt file 2019-08-20 22:01:12 +02:00
README.md Merge branch '6.1.x' 2024-03-14 15:05:46 +01:00
SECURITY.md Mention JAR signing key in SECURITY.md 2023-03-17 22:32:33 +01:00
build.gradle Merge branch '6.1.x' 2024-05-22 14:46:33 +02:00
gradle.properties Next development version (v6.1.9-SNAPSHOT) 2024-05-22 16:45:49 +00:00
gradlew Upgrade to Gradle 8.4 2023-10-08 16:08:29 +02:00
gradlew.bat Upgrade to Gradle 8.6 2024-02-03 11:38:56 +01:00
import-into-eclipse.md Remove Groovy from "Eclipse/STS Project Import Guide" 2022-01-21 11:27:09 +01:00
import-into-idea.md Fix links in Javadoc and reference docs 2022-09-14 17:00:11 +02:00
settings.gradle Fix build warnings 2024-04-30 19:10:31 +02:00
update_copyright_headers.sh Use correct Kotlin file extension in update_copyright_headers.sh 2023-02-19 13:41:36 +01:00

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@pivotal.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

Information regarding CI builds can be found in the Spring Framework Concourse pipeline documentation.

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.