Spring Boot Configuration with YAML

Core Syntax YAML configuration provides a hierarchical structure for Spring Boot applications. Proper indentation and spacing are essential: # Server configuration server: port: 8081 address: 0.0.0.0 # Database setup spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://dbhost:3306/app_db username: ...

Posted on Fri, 17 Jul 2026 16:14:47 +0000 by krio

Handling Multiple Parameters in MyBatis Queries

Introduction In database persistence layers, it is common to encounter scenarios where a SQL query requires multiple input parameters that do not belong to a single specific entity class. When the parameters are disparate types or loose collections of data, specific binding strategies are required. Below are two standard approaches to handle mu ...

Posted on Wed, 15 Jul 2026 16:47:33 +0000 by zhTonic

MyBatis SQL Query Implementation Techniques

UNION operations combine results from multiple tables while eliminating duplicate records: <resultMap id="TransactionResult" type="com.example.Transaction"> <id column="txn_id" property="id"/> <result column="order_ref" property="orderReference"/> <result col ...

Posted on Tue, 14 Jul 2026 16:38:23 +0000 by r3dn3ck

Graduate Credential Verification System: Architecture and Implementation with Spring Boot, Vue.js, and UniApp

Technology StackBackend Framework: Spring BootSpring Boot simplifies the development of production-ready applications by leveraging the Spring ecosystem. It eliminates the need for extensive XML configurations through its intelligent auto-configuration mechanism, which dynamically configures the application based on the detected classpath depen ...

Posted on Mon, 13 Jul 2026 16:39:26 +0000 by Richard

Flower E-commerce Platform with Spring Boot and Vue.js Architecture

Backend Implementation The application utilizes Spring Boot for backend services with MyBatis as the persistence layer. This configuration enables efficient database operations while maintaining clean separation of concerns. @SpringBootApplication @RestController public class FlowerShopApplication { public static void main(String[] args) { ...

Posted on Fri, 10 Jul 2026 17:14:31 +0000 by transparencia

Troubleshooting Spring Boot Registration Form Data Reception Issues

Project Context Developing a recruitmant platform with Spring Boot 2.7 and MyBatis Plus. The registration module encounters server-side data reception failures despite functional business logic tests. Symptom Description Submitting the job seeker registration form triggers an HTTP 500 error. Server logs indicate validation failure: "Userna ...

Posted on Thu, 09 Jul 2026 16:04:02 +0000 by SoN9ne

Digital Preservation System for Hebei Renqiu Intangible Cultural Heritage Using SpringBoot, Vue.js, and UniApp

Technology Stack Overview Backend with SpringBoot SpringBoot simplifies application development by offering embedded servers and auto-configuration capabilities. Below is a basic example of a REST controller: import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.spring ...

Posted on Wed, 08 Jul 2026 17:08:26 +0000 by lovasco

Mastering Dynamic SQL in MyBatis: Building Flexible and Maintainable Queries

Dynamic SQL is one of MyBatis’s most powerful features. While basic MyBatis usage simplifies JDBC boilerplate, dynamic SQL empowers developers to construct queries that adapt intelligently to varying runtime conditions—making data access logic both flexible and maintainable. This guide explores the core constructs of MyBatis dynamic SQL through ...

Posted on Wed, 08 Jul 2026 17:06:29 +0000 by davithedork

Automated Data Encryption and Integrity Verification Using MyBatis Interceptors and Custom Annotations

Overview Applications frequently handle sensitive information such as contact numbers, government-isued IDs, and financial records. Storing these values in plaintext poses security risks, while manual encryption and decryption scatter boilerplate code across service layers. Furthermore, critical business data requires tamper-evidence mechanisms ...

Posted on Wed, 08 Jul 2026 16:56:20 +0000 by steveswt

Building a User Management Module with Spring, Spring MVC, and MyBatis

1. Project Configuration and Dependency Integration Initilaize the Mavan project structure. The pom.xml file manages all required dependencies for the Spring ecosystem, database connectivity, and JSON handling. 1.1 Maven Dependencies (pom.xml) Configure version properteis and import necessary libraries including JUnit, MyBatis, Druid connection ...

Posted on Tue, 07 Jul 2026 16:53:29 +0000 by kristoff