The new JdbcClient Introduced in Spring Framework 6.1

The new JdbcClient Introduced in Spring Framework 6.1

Spring framework 6.1 introduced a new JdbcClient API, which is a wrapper on top of JdbcTemplate, for performing database operations using a fluent API.

Spring Boot 3.2 includes Spring framework 6.1, so let’s take a quick look at how we can use JdbcClient to implement various database operations in a simplified manner.

Spring Boot REST API Best Practices - Part 1

Spring Boot REST API Best Practices - Part 1

In this Spring Boot REST API Best Practices Series, I will explain some of the best practices we should follow while implementing REST APIs. Also, I will explain some of the common mistakes developers do and how to avoid them.

Spring Boot JdbcTemplate Tutorial

Spring Boot JdbcTemplate Tutorial

Introducing Spring Boot JDBC Support

Spring’s JdbcTemplate provides high-level abstraction on top of DataSource to perform database operations. In addition to that Spring’s declarative Transaction Management capabilities helps to manage database transactions in a simplified way without having to write boilerplate code.

Spring Boot Profiles Tutorial

Spring Boot Profiles Tutorial

Introducing Spring Profiles

Typically, software applications run in different environments. During development, it will be local, and then we may deploy it on QA, Staging, Performance and finally in Production environments. You may have to configure your application with different configuration properties while running the application in different environments.

Spring Boot Logging Tutorial

Spring Boot Logging Tutorial

Logging is a common and important requirement for running applications in production. Spring Boot provides great support for application logging out of the box and offers various customization options. In this tutorial, you will learn how to implement logging in your Spring Boot application using Logback and Log4j2.