Building a Spring Boot MVC Application with MariaDB and Native JDBC
In this blog post, we will guide you through the process of building a Spring Boot MVC application that integrates with the MariaDB database using native JDBC for data access. We will cover essential steps, including configuring the database connection, defining entities, creating repositories, building controllers, and setting up Thymeleaf templates. By the end of this blog, you'll have a fully functional Spring Boot MVC application for managing products in a MariaDB database. Prerequisites Before we start, make sure you have the following prerequisites in place: Java Development Kit (JDK) installed on your machine. An Integrated Development Environment (IDE) like IntelliJ IDEA or Eclipse. Apache Maven for managing project dependencies. A running MariaDB database instance. Step 1: Create a Spring Boot Project Spring Initializr : Visit the Spring Initializr website ( https://start.spring.io/) to create a new Spring Boot project. Configure the project settings as follows: Project: