In modern web applications, maintaining audit trails for data changes is crucial for tracking who made changes and when. If you’re building a Spring Boot application with REST APIs, using MyBatis for data persistence, and MSSQL as your database, you might face the challenge of managing common audit fields like createdDate, createdBy, updatedDate, and updatedBy […]
Externalizing MyBatis SQL Queries in a Spring Boot Application
As applications grow in complexity, managing SQL queries directly within the codebase can become cumbersome and error-prone. MyBatis, a popular persistence framework, offers several options for managing SQL statements in a Spring Boot application. This blog post explores how to externalize SQL queries, including the various methods supported by MyBatis for writing and organizing SQL […]
How to configure JaCoCo for Code Coverage in Spring boot Applications
Code coverage is a crucial aspect of software development that helps to measure the effectiveness of testing and ensures the quality of the codebase. In this comprehensive guide, we will explore the concept of code coverage specifically for Springboot applications and delve into the implementation of JaCoCo, a popular code coverage tool for Java projects. […]