MyJavaCode.com

Tutorial and How to Guide on Java Programming. Topics covered include Java Programming Language - Core Java, Spring, Webservices, REST, Hibernate, Maven and Microservices.

  • Core Java
  • REST API’s
  • Spring boot
  • Hibernate
  • Interview Questions
  • Contact Us
  • Projects
  • Offerings

Automate Audit Fields in Spring Boot with MyBatis: A Generic Solution for CRUD Operations

June 25, 2025 By Prasanna Manjunatha

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

June 8, 2025 By Prasanna Manjunatha

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 […]

Currently Trending

  • Five minutes guide for creating SOAP web service in Java using Axis2
  • How to Extract Private Key from Java Keystore (.JKS) or .P12 File
  • HTTP Redirection Configuration in JBoss
  • Top 5 Java Code Coverage Tools
  • How to Generate MD5 Hash in Java
  • How to Update MySQL Collation for all tables in the schema
  • MySQL Scheduler Overview with Examples
  • Java Null Check Using Optional: Enhancing Code Reliability and Readability
  • How to Solve Maven invalid CEN header error
  • How to Check Free Disk Space in Java

Connect with us

  • Facebook
  • GitHub
  • LinkedIn
  • Twitter

TAG CLOUD

Axis2 Code Coverage CodeCoverage cron expression Data Structure Frameworks Hashing HashMap Hibernate IntelliJ java Java Mail jboss jpa 2.1 Maven MyBatis MySQL PDF Quartz REST REST API SOAP Springboot Spring boot SQL Tools Tutorial web service

All time Popular Posts

  • How to Extract Private Key from Java Keystore (.JKS) or .P12 File
  • How to check whether a Collection is Null or Empty in Java
  • How to Solve Maven invalid CEN header error
  • How to configure JaCoCo for Code Coverage in Spring boot Applications
  • How to Send Email In Java
  • How to Create Cron Expression for Quartz Scheduler
  • Getting Started with Spring Boot: A Spring Boot Setup Tutorial
  • How to Password Protect a PDF File using Java
  • How to Deploy Exploded WAR file in JBoss EAP Server
  • Automate Audit Fields in Spring Boot with MyBatis: A Generic Solution for CRUD Operations

Copyright © 2026 MyJavaCode.com