Custom Pagination with MyBatis-Plus in Spring Boot

This guide demonstrates how to implement custom pagination queries using MyBatis-Plus within a Spring Boot application. Project Setup and Dependencies Ensure your project includes the necessary dependencies in your pom.xml: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <a ...

Posted on Fri, 21 Aug 2026 16:50:24 +0000 by TweetyPie

Configuring Multiple Datasources in Spring Boot 3 with MyBatis-Plus

Database Initialization Set up three distinct databases: primary_db, replica_a, and replica_b. The primary database will hold the initial records, while the replicas will only contain the schema. CREATE TABLE `inventory_item` ( `id` bigint NOT NULL AUTO_INCREMENT, `sku` varchar(50) NOT NULL, `name` varchar(200) NOT NULL, `type` varchar( ...

Posted on Wed, 19 Aug 2026 16:21:19 +0000 by Mieke23

Smart Warehouse System Development with Spring Boot, Vue.js, and UniApp

This article outlines the design and implementation of a smart warehouse management system built using a modern technology stack. The backend is powered by Spring Boot, the web frontend leverages Vue.js, and a mobile application is developed with UniApp, providing a comprehensive solution for efficient warehouse operations. Backend Framework: S ...

Posted on Mon, 17 Aug 2026 16:18:41 +0000 by jefkin

Redis Data Serialization and DTO Transformation Strategies

Storing Session Data as Hashes When handling user authentication, it is common to store user session objects in Redis. Since StringRedisTemplate requires serialized values, we must convert our Data Transfer Objects (DTOs) into a format compatible with Redis storage structures, such as a Hash, while ensuring all field values are strings. // Conv ...

Posted on Fri, 07 Aug 2026 16:35:34 +0000 by tam2000k2

University Restaurant Recommendation and Review System: Implementation with SpringBoot, Vue, and uniapp

Technical Stack Overview Backend Framework: SpringBoot SpringBoot provides embedded servers such as Tomcat, Jetty, and Undertow, eliminating the need for separate installations. Its auto-configuration feature automatically configures the application based on dependencies present in the project. This significantly simplifies the setup process by ...

Posted on Tue, 04 Aug 2026 16:40:46 +0000 by jrolands

Implementing Excel Import and Export with Spring Boot, MyBatis-Plus, and EasyExcel

Start by creating a Spring Boot project and add the necessary dependencies to the pom.xml file. <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.5.2</version> </dependency> <dependency> <groupId>mysql</groupId ...

Posted on Fri, 31 Jul 2026 16:30:07 +0000 by [ArcanE]

Student Information Management System Based on Spring Boot and Vue

This article presents a practical implementation of a student information management system built using Spring Boot, Vue.js, and MySQL. The system provides RESTful APIs for mangaing student records, including CRUD operations, search, and pagination. The frontend is developed with Vue 3 and Element Plus, while the backend uses Spring Boot 2.x wi ...

Posted on Fri, 31 Jul 2026 16:16:44 +0000 by sunnysideup

Resolving MyBatis-Plus XML Mapper Scanning Issues in Spring Boot with Gradle

Project Setup with MyBatis-Plus and Gradle Start with a standard Spring Boot 2.3.x project using Gradle. Below is a minimal build.gradle configuration: plugins { id 'org.springframework.boot' version '2.3.12.RELEASE' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } group = 'com.example' version = '0.0.1-SNA ...

Posted on Wed, 29 Jul 2026 16:25:04 +0000 by suge

Implementing Multi-Table Pagination Queries with Spring Boot and MyBatis-Plus

Pagination Configuration Using MyBatis-Plus Built-in Support package com.minster.yanapi.Config; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor; import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor; import org.springframework.context.annot ...

Posted on Sun, 26 Jul 2026 16:52:47 +0000 by catchy

Troubleshooting MyBatis and MyBatis-Plus Mapper Binding Failures

When working with MyBatis or MyBatis-Plus in Spring Boot applications, encountering "Invalid bound statement (not found)" exceptions typically indicates that mapper interfaces cannot locate their corresponding XML mapping files. This guide outlines common misconfigurations and their solutions. Mapper Location Configuration The primary ...

Posted on Fri, 03 Jul 2026 16:18:29 +0000 by ident