Learn how Spring manages transactions internally, why manual commits don’t work as expected, and how to define transaction boundaries correctly using both declarative and programmatic approaches.
Also find me here:
Baeldung Author
Sagar Verma
I am a Senior Software Developer with extensive experience in designing, developing, and maintaining scalable systems and applications.
Here's what I've written (so far):
Baeldung on Java
- All
- Spring Boot (3)
- Java (2)
- Testing (1)
- Spring Web (1)
- Spring Security (1)
- Persistence (1)
- Java Map (1)
- Java Array (1)
- JSON (1)
- HTTP Client-Side (1)
- Architecture (1)
Retrying RestTemplate HTTP Requests in Java When the Host Is Offline
Filed under HTTP Client-Side, Spring Web
Explore multiple approaches to retry RestTemplate HTTP requests when the host is offline.
Order of Configuration in Spring Boot
Filed under Spring Boot
Explore the order of configuration in Spring Boot as an essential tool for building predictable and maintainable applications.
Gradle JUnit Generate HTML Report
Filed under Testing
Learn how to generate JUnit HTML reports in both single-module and multi-module Gradle projects.
Multiple Databases With Flyway in Spring Boot
Filed under Persistence, Spring Boot
Learn how to configure Spring Boot with two databases, manage Flyway migrations independently for each, and validate the setup using unit tests.
Convert JSON Object to JSON Array in Java
Filed under Java Array, JSON
Explore ways to transform a JSON object to a JSON array using the most popular Java JSON libraries.
Guide to Java Diff Utils
Filed under Java
Learn how to use the Java Diff Utils library for comparing text content line-by-line, applying patches, building side-by-side diff views, etc.
Currency Code to Currency Symbol Mapping in Java
Filed under Java
Java offers multiple ways to map a currency code to its respective symbol, including the built-in Currency class, a hardcoded Map, and Locale support.
Guide to Disable Spring Security
Filed under Spring Security
Explore various methods for disabling Spring Security in a Spring Boot application, each suited for different scenarios.