Tagged articles
206 articles
Page 2 of 3
Java High-Performance Architecture
Java High-Performance Architecture
Jan 6, 2024 · Backend Development

Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide

This article introduces the MyBatis‑Plus Generator UI, a highly customizable web‑based code generation framework that supports multiple databases, explains its core features, provides step‑by‑step integration with Spring Boot, and demonstrates how to extend templates and configure naming conventions for efficient backend development.

Code GenerationSpring Bootmybatis-plus
0 likes · 13 min read
Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide
Architect
Architect
Dec 27, 2023 · Backend Development

Master MyBatis‑Plus in Spring Boot: From Quick Start to Advanced Features

This guide walks through integrating MyBatis‑Plus with Spring Boot, covering dependency setup, configuration, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, multi‑data‑source support, and testing with concrete code examples and detailed explanations.

CRUDEnum MappingLogical Deletion
0 likes · 20 min read
Master MyBatis‑Plus in Spring Boot: From Quick Start to Advanced Features
macrozheng
macrozheng
Dec 22, 2023 · Backend Development

Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide

This article introduces the MyBatis-Plus Generator UI, a web‑based tool that streamlines Spring Boot code generation for entities, mappers, services, and controllers, explains how to integrate it via Maven, configure databases, customize templates, and extend its functionality with custom name converters.

Backend DevelopmentCode GenerationJava
0 likes · 14 min read
Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide
Java High-Performance Architecture
Java High-Performance Architecture
Dec 14, 2023 · Backend Development

Master Dynamic Data Source Switching with ThreadLocal in SpringBoot

This guide explains how to implement dynamic data source switching in SpringBoot by leveraging ThreadLocal and AbstractRoutingDataSource, covering basic concepts, code examples for context holder, routing datasource, configuration, annotation‑driven switching, and runtime addition of new data sources with practical testing steps.

Dynamic Data SourceJavaSpringBoot
0 likes · 18 min read
Master Dynamic Data Source Switching with ThreadLocal in SpringBoot
IT Xianyu
IT Xianyu
Dec 12, 2023 · Backend Development

Implementing Dynamic Data Source Switching in Spring Boot Using ThreadLocal and AbstractRoutingDataSource

This article explains how to build a custom dynamic data‑source solution for Spring Boot by leveraging ThreadLocal and AbstractRoutingDataSource, provides complete Java code for context holders, routing datasource, configuration, annotation‑driven switching, and runtime addition of new data sources.

BackendThreadLocalabstractroutingdatasource
0 likes · 15 min read
Implementing Dynamic Data Source Switching in Spring Boot Using ThreadLocal and AbstractRoutingDataSource
JD Cloud Developers
JD Cloud Developers
Nov 30, 2023 · Backend Development

How to Extend MyBatis-Plus with Custom CRUD Methods and SQL Injection

Learn how to leverage MyBatis-Plus's built-in CRUD capabilities, create custom SQL methods like SelectByErp, integrate them via a custom SqlInjector, and modify existing operations such as AlwaysUpdateSomeColumnById and UpdateById for sharding scenarios, enabling reusable and efficient data access across your backend.

CRUDJavaORM
0 likes · 9 min read
How to Extend MyBatis-Plus with Custom CRUD Methods and SQL Injection
Top Architect
Top Architect
Oct 17, 2023 · Backend Development

Implementation and Comparison of Fluent MyBatis, Native MyBatis, and MyBatis‑Plus for Student Score Statistics

This article presents a typical requirement to calculate count, minimum, maximum, and average scores for three subjects in a student_score table, demonstrates how to fulfill it using raw SQL, then shows step‑by‑step implementations with Fluent MyBatis, native MyBatis XML, and MyBatis‑Plus code generation, and finally compares the three approaches highlighting their pros and cons.

Fluent MyBatisJavaMyBatis
0 likes · 9 min read
Implementation and Comparison of Fluent MyBatis, Native MyBatis, and MyBatis‑Plus for Student Score Statistics
Java Architecture Diary
Java Architecture Diary
Oct 7, 2023 · Backend Development

What’s New in MyBatis‑Plus for Spring Boot 3? Explore the Latest Features and Fixes

Version 3.5.4‑SNAPSHOT of MyBatis‑Plus introduces auto‑increment primary key handling, generic extraction, new BaseMapper update and streaming query methods, batch operations, expanded Spring Boot 3 support, numerous dependency upgrades, and a series of optimizations and bug fixes that improve performance, compatibility, and developer ergonomics.

Backend DevelopmentORMmybatis-plus
0 likes · 6 min read
What’s New in MyBatis‑Plus for Spring Boot 3? Explore the Latest Features and Fixes
Java Architecture Diary
Java Architecture Diary
Aug 9, 2023 · Backend Development

What’s New in MyBatis‑Plus 3.5.13? Top Features and Performance Boosts

MyBatis‑Plus 3.5.13 introduces dynamic SQL smart optimization, a richer code generator, significant heap‑memory reduction, Spring Boot 3 and JDK 17 native support, new database adapters, enhanced optimistic locking, multi‑parameter filling, and comprehensive SQL‑injection safeguards, all aimed at faster, more productive backend development.

Backend DevelopmentJavaORM
0 likes · 9 min read
What’s New in MyBatis‑Plus 3.5.13? Top Features and Performance Boosts
Java High-Performance Architecture
Java High-Performance Architecture
Aug 4, 2023 · Backend Development

Implement Role‑Based Data Permissions in MyBatis‑Plus with Custom Interceptors

This guide explains how to enforce user‑role based data access in MyBatis‑Plus by creating a custom annotation, building an InnerInterceptor that modifies SQL WHERE clauses, configuring the interceptor in the MyBatis‑Plus plugin, and extending the approach to handle department‑level and self‑only scopes.

Backend DevelopmentData PermissionInterceptor
0 likes · 15 min read
Implement Role‑Based Data Permissions in MyBatis‑Plus with Custom Interceptors
Architecture Digest
Architecture Digest
Aug 1, 2023 · Backend Development

Comprehensive Guide to Integrating MyBatis-Plus with Spring Boot

This article provides a step‑by‑step tutorial on integrating MyBatis‑Plus into a Spring Boot project, covering dependency setup, configuration of data sources, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, and multi‑datasource usage with complete code examples.

CRUDJavaORM
0 likes · 15 min read
Comprehensive Guide to Integrating MyBatis-Plus with Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Jul 25, 2023 · Backend Development

When to Use MyBatis‑Plus: Benefits, Drawbacks, and Best Practices

This article examines the ongoing debate around MyBatis‑Plus, highlighting its convenience for simple CRUD operations, the maintenance challenges it introduces, and practical guidelines—such as using LambdaQueryWrapper and pagination plugins—to decide when the framework is appropriate for Java backend projects.

Backend DevelopmentJavaLambdaQueryWrapper
0 likes · 7 min read
When to Use MyBatis‑Plus: Benefits, Drawbacks, and Best Practices
Su San Talks Tech
Su San Talks Tech
Jul 14, 2023 · Backend Development

How to Use MyBatis Interceptor for Dynamic SQL in Spring Boot 3

This article demonstrates how to leverage MyBatis interceptor mechanism in a Spring Boot 3 application to dynamically modify SQL statements, showing step‑by‑step implementation, configuration, core code, testing, and common use cases such as SQL monitoring, pagination, and data permission filtering.

Dynamic SQLInterceptorJava
0 likes · 11 min read
How to Use MyBatis Interceptor for Dynamic SQL in Spring Boot 3
Java Interview Crash Guide
Java Interview Crash Guide
Jun 9, 2023 · Backend Development

Bean Searcher vs MyBatis Plus: Which Dynamic Query Tool Wins?

Bean Searcher and MyBatis Plus both enable dynamic queries in Java, but they differ in ORM dependence, query syntax, operator flexibility, logical grouping, multi‑table support, and ideal use cases, with Bean Searcher offering dynamic operators and one‑line controller code while MyBatis Plus excels in transactional operations.

Bean SearcherDynamic QueryJava ORM
0 likes · 19 min read
Bean Searcher vs MyBatis Plus: Which Dynamic Query Tool Wins?
Selected Java Interview Questions
Selected Java Interview Questions
Jun 6, 2023 · Backend Development

Comparing MyBatis‑Plus and Bean Searcher: Core Differences, Advanced Queries, and Practical Use Cases

This article compares MyBatis‑Plus and Bean Searcher, detailing their basic differences, dynamic query capabilities, logical grouping, multi‑table joins, performance benchmarks, supported databases, and recommended usage scenarios, while providing extensive code examples and best‑practice recommendations for backend developers.

Backend DevelopmentBean SearcherDynamic Query
0 likes · 17 min read
Comparing MyBatis‑Plus and Bean Searcher: Core Differences, Advanced Queries, and Practical Use Cases
Java High-Performance Architecture
Java High-Performance Architecture
Jun 3, 2023 · Backend Development

Boost Java Backend Productivity with MyBatis-Plus Generator UI

This article introduces the MyBatis-Plus Generator UI, a web‑based tool that wraps MyBatis‑Plus code generation to quickly produce Spring Boot compatible entities, mappers, services and controllers, explains how to integrate it via Maven and a main class, and demonstrates its rich customization and UI features.

Code GenerationJavaSpring Boot
0 likes · 13 min read
Boost Java Backend Productivity with MyBatis-Plus Generator UI
Code Ape Tech Column
Code Ape Tech Column
Jun 2, 2023 · Backend Development

Custom SQL Injector Guide for MyBatis-Plus: Built‑in and User‑Defined Injectors

This article explains what SQL injectors are in MyBatis‑Plus, lists the built‑in extended injectors, shows how to configure them globally, demonstrates custom mapper creation, provides complete code examples and test cases, and guides readers through building their own SQL injector for full‑field updates and batch operations.

Custom MapperDatabase operationsJava backend
0 likes · 9 min read
Custom SQL Injector Guide for MyBatis-Plus: Built‑in and User‑Defined Injectors
Top Architect
Top Architect
May 22, 2023 · Backend Development

Using MyBatis‑Plus‑Join Plugin for Multi‑Table Joins in Java

This article introduces the MyBatis‑Plus‑Join library that adds join capabilities to MyBatis‑Plus, explains how to install it via Maven or Gradle, shows how to extend mapper and service interfaces, and provides detailed code examples for simple three‑table queries, pagination, and advanced custom SQL usage.

BackendJOINJava
0 likes · 10 min read
Using MyBatis‑Plus‑Join Plugin for Multi‑Table Joins in Java
macrozheng
macrozheng
Apr 12, 2023 · Backend Development

Simplify Join Queries in MyBatis‑Plus with MPJ: A Hands‑On Guide

This tutorial shows how to use the MyBatis‑Plus‑Join (MPJ) extension to perform left‑join queries, modify mappers, build queries with MPJLambdaWrapper and MPJQueryWrapper, and add pagination, eliminating the need for manual XML SQL while improving development efficiency.

JavaJoin QueryMPJ
0 likes · 8 min read
Simplify Join Queries in MyBatis‑Plus with MPJ: A Hands‑On Guide
macrozheng
macrozheng
Mar 31, 2023 · Backend Development

Implementing Multi‑Tenant Isolation in MyBatis‑Plus: A Step‑by‑Step Guide

Learn how to implement multi‑tenant isolation in a SaaS application using MyBatis‑Plus, covering database schema design, Maven dependencies, configuration of pagination interceptors, tenant handler logic, request‑header propagation, async thread handling, selective filtering, and common pitfalls with bean copying and join queries.

Javamulti-tenantmybatis-plus
0 likes · 9 min read
Implementing Multi‑Tenant Isolation in MyBatis‑Plus: A Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 30, 2023 · Backend Development

Implement Field Encryption with ShardingSphere in Spring Boot 2.6

This guide walks through setting up a Spring Boot 2.6.14 project with ShardingSphere 5.3.0 encryption, covering Maven dependencies, YAML configurations for data sources and encryptors, defining the users table schema, implementing CRUD operations with MyBatis‑Plus, and troubleshooting connection‑pool settings.

CRUDJavaShardingSphere
0 likes · 6 min read
Implement Field Encryption with ShardingSphere in Spring Boot 2.6
Code Ape Tech Column
Code Ape Tech Column
Mar 17, 2023 · Backend Development

Using MybatisX Plugin with Spring Boot for Rapid MyBatis Development

This guide demonstrates how to integrate the MybatisX IDEA plugin with a Spring Boot project, covering database setup, Maven dependency configuration, plugin installation, connection testing, code generation, and sample controller implementation to accelerate MyBatis and MyBatis-Plus development.

Backend DevelopmentIDEA PluginJava
0 likes · 5 min read
Using MybatisX Plugin with Spring Boot for Rapid MyBatis Development
macrozheng
macrozheng
Mar 16, 2023 · Backend Development

Boost Spring Boot Productivity with MyBatis‑Plus Generator UI

This article introduces the MyBatis‑Plus Generator UI, a highly customizable web‑based code generator for Spring Boot projects, explains how to integrate it via Maven, run it, use its rich features for entity, mapper, service and controller generation, and extend it with custom templates and name‑conversion rules.

Backend DevelopmentCode GenerationJava
0 likes · 14 min read
Boost Spring Boot Productivity with MyBatis‑Plus Generator UI
Code Ape Tech Column
Code Ape Tech Column
Mar 12, 2023 · Databases

Optimizing Batch Insert Performance in MyBatis‑Plus with a Custom SQL Injector

This article analyzes why MyBatis‑Plus's default saveBatch method does not achieve true batch insertion, explains how to enable JDBC batch mode with rewriteBatchedStatements, and demonstrates creating a custom SQL injector (InsertBatchSomeColumn) to perform real batch inserts, including performance test results showing significant speed improvements.

Batch InsertJavaPerformance Optimization
0 likes · 10 min read
Optimizing Batch Insert Performance in MyBatis‑Plus with a Custom SQL Injector
Top Architect
Top Architect
Mar 3, 2023 · Backend Development

Comprehensive MyBatis‑Plus Guide: Overview, Quick Start, CRUD Extensions, Optimistic Lock, Logical Delete, Pagination, and Code Generator

This article provides a detailed introduction to MyBatis‑Plus, covering its core features, step‑by‑step quick‑start instructions, CRUD operations, advanced configurations such as optimistic locking, logical deletion, pagination, performance analysis, and the built‑in code generator, all illustrated with complete Java code examples.

CRUDCodeGenerationJava
0 likes · 19 min read
Comprehensive MyBatis‑Plus Guide: Overview, Quick Start, CRUD Extensions, Optimistic Lock, Logical Delete, Pagination, and Code Generator
Top Architect
Top Architect
Feb 23, 2023 · Backend Development

Comprehensive Guide to Using MyBatis‑Plus with Spring Boot

This tutorial walks through integrating MyBatis‑Plus into a Spring Boot project, covering dependency setup, configuration of data sources, entity annotations, service and mapper layers, pagination, logical deletion, enum handling, automatic field filling, multi‑datasource support, and testing with full code examples.

CRUDLogical DeleteMulti-DataSource
0 likes · 18 min read
Comprehensive Guide to Using MyBatis‑Plus with Spring Boot
Java Architect Essentials
Java Architect Essentials
Jan 10, 2023 · Backend Development

MyBatis and MyBatis-Plus Batch Insert Techniques with Performance Comparison

This article presents five common batch‑insert approaches for MyBatis and MyBatis‑Plus—including a for‑loop, manual batch commit, collection‑based batch, saveBatch, and InsertBatchSomeColumn—provides complete code examples, configuration steps, and measured execution times to help Java backend developers choose the most efficient method.

Batch InsertMyBatisSpring Boot
0 likes · 11 min read
MyBatis and MyBatis-Plus Batch Insert Techniques with Performance Comparison
Top Architect
Top Architect
Dec 8, 2022 · Backend Development

Common MyBatis Batch Insert Techniques and Performance Comparison

This article presents a detailed overview of five commonly used MyBatis and MyBatis-Plus batch insertion methods, including code examples, configuration steps, and performance measurements for inserting ten thousand records, helping developers choose the most efficient approach for large‑scale data insertion in Java backend projects.

Batch InsertJavaMyBatis
0 likes · 11 min read
Common MyBatis Batch Insert Techniques and Performance Comparison
Code Ape Tech Column
Code Ape Tech Column
Dec 7, 2022 · Backend Development

Simplified Join Queries with MyBatis-Plus-Join (MPJ) in Spring Boot

This tutorial demonstrates how to use the MyBatis-Plus-Join (MPJ) library to perform left and right join queries in a Spring Boot project without writing XML SQL, covering dependency setup, mapper modification, query construction with MPJLambdaWrapper and MPJQueryWrapper, and pagination support.

JavaJoin QueryMPJ
0 likes · 9 min read
Simplified Join Queries with MyBatis-Plus-Join (MPJ) in Spring Boot
Top Architect
Top Architect
Dec 2, 2022 · Backend Development

Unified Exception Handling in Spring Boot with Custom Assertions and Enum‑Based Error Codes

This article explains how to implement a comprehensive unified exception handling mechanism in Spring Boot by using @ControllerAdvice, custom BaseException/BusinessException classes, enum‑based error codes, assertion utilities, and standardized response objects to simplify error management across controller and service layers.

EnumsException HandlingJava
0 likes · 22 min read
Unified Exception Handling in Spring Boot with Custom Assertions and Enum‑Based Error Codes
Selected Java Interview Questions
Selected Java Interview Questions
Dec 1, 2022 · Backend Development

Five Common Batch Insert Techniques for MyBatis and MyBatis‑Plus

This article presents and compares five practical batch‑insert methods for MyBatis and MyBatis‑Plus, covering preparation steps, code implementations, configuration details, and performance results, helping developers choose the most efficient approach for inserting large volumes of data in Java backend projects.

Batch InsertJavaMyBatis
0 likes · 9 min read
Five Common Batch Insert Techniques for MyBatis and MyBatis‑Plus
macrozheng
macrozheng
Aug 18, 2022 · Backend Development

Simplify MyBatis Join Queries with MyBatis-Plus-Join (MPJ) – A Hands‑On Guide

This tutorial demonstrates how to use the MyBatis-Plus-Join (MPJ) library to perform left and right join queries in Spring Boot without writing XML SQL, covering dependency setup, entity and mapper modifications, query construction with MPJLambdaWrapper and MPJQueryWrapper, pagination support, and practical tips.

Backend DevelopmentJavaJoin Query
0 likes · 10 min read
Simplify MyBatis Join Queries with MyBatis-Plus-Join (MPJ) – A Hands‑On Guide
Java Backend Technology
Java Backend Technology
Aug 10, 2022 · Backend Development

Master MyBatis-Plus with Spring Boot: Complete Guide to CRUD, Pagination, and Multi‑DataSource

This tutorial walks through integrating MyBatis-Plus into a Spring Boot project, covering dependency setup, configuration, entity annotations, CRUD service and mapper usage, pagination, logical deletion, enum handling, automatic field filling, and multi‑data‑source management, complete with code examples and testing.

CRUDMulti-DataSourceSpring Boot
0 likes · 16 min read
Master MyBatis-Plus with Spring Boot: Complete Guide to CRUD, Pagination, and Multi‑DataSource
Java Architect Essentials
Java Architect Essentials
Aug 9, 2022 · Backend Development

Master MyBatis-Plus in Spring Boot: Quick Start, Configuration, and Advanced Features

This guide walks through integrating MyBatis-Plus with Spring Boot, covering environment setup, Maven dependencies, configuration of data sources, entity annotations, CRUD services, pagination, logical deletion, enum handling, automatic field filling, multi‑data‑source strategies, and testing with full code examples.

BackendJavaORM
0 likes · 20 min read
Master MyBatis-Plus in Spring Boot: Quick Start, Configuration, and Advanced Features
Java High-Performance Architecture
Java High-Performance Architecture
Aug 9, 2022 · Backend Development

How to Implement Multi‑Tenant Architecture in MyBatis‑Plus: A Step‑by‑Step Guide

This article explains the concept of multi‑tenant architecture, compares three data isolation strategies, and provides a complete MyBatis‑Plus configuration with code examples to automatically add tenant IDs, including how to filter specific SQL statements, helping developers build cost‑effective SaaS back‑ends.

Backend DevelopmentData IsolationJava
0 likes · 7 min read
How to Implement Multi‑Tenant Architecture in MyBatis‑Plus: A Step‑by‑Step Guide
Top Architect
Top Architect
Aug 9, 2022 · Backend Development

Building a Spring Boot Lottery System with Redis and MyBatis‑Plus

This article demonstrates how to create a simple lottery application using Spring Boot, MyBatis‑Plus, and Redis, covering project setup, database schema, dependency configuration, Redis integration, event‑driven data initialization, lottery draw logic, stock management, and asynchronous record handling.

JavaLotterySpring Boot
0 likes · 23 min read
Building a Spring Boot Lottery System with Redis and MyBatis‑Plus
Java High-Performance Architecture
Java High-Performance Architecture
Jul 29, 2022 · Backend Development

Master MyBatis-Plus in Spring Boot: Setup, Config, and Advanced Usage

A comprehensive guide walks you through integrating MyBatis-Plus with Spring Boot, detailing dependency setup, configuration, entity annotations, CRUD operations, pagination, logical deletion, enum mapping, automatic field filling, multi‑datasource handling, and testing, all illustrated with runnable code examples.

CRUDJavaMulti-DataSource
0 likes · 19 min read
Master MyBatis-Plus in Spring Boot: Setup, Config, and Advanced Usage
Architecture Digest
Architecture Digest
Jul 29, 2022 · Databases

Guide to Setting Up MySQL Master‑Slave Replication with MyBatis‑Plus, ShardingSphereJDBC and Spring Boot for Read‑Write Splitting

This tutorial explains how to configure MySQL master‑slave replication using Docker, set up read‑write splitting with ShardingSphereJDBC, integrate MyBatis‑Plus, and build a Spring Boot application that demonstrates write operations on the master and read operations on the slave.

Database ReplicationShardingSphereSpring Boot
0 likes · 16 min read
Guide to Setting Up MySQL Master‑Slave Replication with MyBatis‑Plus, ShardingSphereJDBC and Spring Boot for Read‑Write Splitting
Top Architect
Top Architect
Jun 20, 2022 · Backend Development

Understanding How MyBatis‑Plus Maps Mapper Methods to SQL Statements and Executes Database Operations

This article provides a detailed walkthrough of MyBatis‑Plus internals, covering the auto‑configuration of SqlSessionFactory, parsing of mapper XML and annotations, registration of mapper interfaces via @MapperScan, creation of dynamic proxies, and the final assembly of executable SQL scripts for database interactions.

JavaSQL MappingSpring Boot
0 likes · 15 min read
Understanding How MyBatis‑Plus Maps Mapper Methods to SQL Statements and Executes Database Operations
Selected Java Interview Questions
Selected Java Interview Questions
Jun 14, 2022 · Backend Development

MyBatis-Plus Overview and Quick‑Start Guide

This article introduces MyBatis‑Plus, an enhancement tool for MyBatis that provides non‑intrusive CRUD operations, lambda queries, automatic primary‑key generation, pagination, optimistic locking, logical deletion, performance analysis, and a code generator, and demonstrates how to set up a Spring Boot project with full code examples.

CRUDSpringBootmybatis-plus
0 likes · 16 min read
MyBatis-Plus Overview and Quick‑Start Guide
Programmer DD
Programmer DD
May 28, 2022 · Backend Development

Master Unified Exception Handling in Spring with @ControllerAdvice and Assert

This article explains how to replace repetitive try‑catch blocks in Java Spring applications with a clean, centralized exception handling strategy using @ControllerAdvice, custom Assert utilities, and enum‑based error codes, while also showing how to return consistent error responses across services.

AssertControllerAdviceJava
0 likes · 25 min read
Master Unified Exception Handling in Spring with @ControllerAdvice and Assert
Java Backend Technology
Java Backend Technology
Jan 23, 2022 · Backend Development

Build a High‑Performance Lottery System with Spring Boot, MyBatis‑Plus & Redis

This tutorial walks through creating a Spring Boot lottery application that caches activity, prize, and record data in Redis, covering project setup, Maven dependencies, YML configuration, MyBatis‑Plus code generation, Redis key management, lottery API, event‑driven data loading, stock handling, and asynchronous record saving.

Backend DevelopmentJavaLottery System
0 likes · 24 min read
Build a High‑Performance Lottery System with Spring Boot, MyBatis‑Plus & Redis
Java Architecture Diary
Java Architecture Diary
Jan 1, 2022 · Backend Development

What’s New in MyBatis-Plus 4.0? Key Features and Update Log Explained

MyBatis-Plus, a MyBatis enhancement toolkit, streamlines CRUD development, celebrates its fifth consecutive OSC popularity award, and introduces version 4.0 with a comprehensive update log that includes MyBatis 3.5.9 upgrade, dynamic mapper injection, new hooks, and numerous performance and compatibility improvements.

BackendCRUDJava
0 likes · 4 min read
What’s New in MyBatis-Plus 4.0? Key Features and Update Log Explained
Programmer DD
Programmer DD
Dec 3, 2021 · Backend Development

How Mybatis-Plus Enhances MyBatis: A Deep Dive into Its Core Implementation

This article explains how Mybatis-Plus extends MyBatis by injecting dynamic configuration XML, customizing mapper registration, and generating CRUD SQL statements through classes like MybatisSqlSessionFactoryBuilder, MybatisConfiguration, MybatisMapperRegistry, and various AbstractMethod implementations.

BackendJavaMyBatis
0 likes · 7 min read
How Mybatis-Plus Enhances MyBatis: A Deep Dive into Its Core Implementation
Java Architect Essentials
Java Architect Essentials
Nov 14, 2021 · Backend Development

Comparative Implementation of Student Score Statistics Using Fluent Mybatis, Mybatis, and Mybatis‑Plus

This article demonstrates how to use Fluent Mybatis, native Mybatis, and Mybatis‑Plus to implement a complex student‑score aggregation query, compares their code structures, generation settings, and highlights the advantages and drawbacks of each approach for backend development.

Backend DevelopmentFluent MyBatisJava
0 likes · 9 min read
Comparative Implementation of Student Score Statistics Using Fluent Mybatis, Mybatis, and Mybatis‑Plus
Top Architect
Top Architect
Nov 7, 2021 · Backend Development

Extending MyBatis-Plus for ClickHouse: Custom SqlMethodDiv, UpdateByIdClickHouse, and Injector Implementation

This article demonstrates how to extend MyBatis-Plus to support ClickHouse-specific DML operations by defining custom SQL method enums, implementing UpdateByIdClickHouse and ClickHouseSqlInjector classes, creating a SuperMapper interface with new CRUD methods, and providing unit tests to verify the integration.

ClickHouseJavaSpring Boot
0 likes · 7 min read
Extending MyBatis-Plus for ClickHouse: Custom SqlMethodDiv, UpdateByIdClickHouse, and Injector Implementation
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 27, 2021 · Backend Development

Implementing Batch Insert with MyBatis-Plus in Java

This article explains how to improve database insertion performance in Java by replacing per‑iteration inserts with MyBatis‑Plus’s saveBatch method, detailing dependency setup, schema creation, entity, controller, service, and mapper code for efficient bulk operations.

BackendBatch InsertJava
0 likes · 8 min read
Implementing Batch Insert with MyBatis-Plus in Java
Code Ape Tech Column
Code Ape Tech Column
Sep 9, 2021 · Databases

Sharding-JDBC Introduction and Practical Guide to Database Sharding with ShardingSphere

This article introduces Sharding-JDBC (now ShardingSphere), explains core sharding concepts such as shards, data nodes, logical and physical tables, sharding keys, algorithms and strategies, shows how it extends JDBC, and provides a step‑by‑step Spring Boot + MyBatis‑Plus example for building a sharded database application.

Sharding-JDBCShardingSphereSpring Boot
0 likes · 30 min read
Sharding-JDBC Introduction and Practical Guide to Database Sharding with ShardingSphere
Top Architect
Top Architect
Aug 13, 2021 · Backend Development

Implementing Student Score Statistics with Fluent MyBatis, MyBatis, and MyBatis‑Plus

This article demonstrates how to use Fluent MyBatis, native MyBatis, and MyBatis‑Plus to query a student_score table for term‑wise statistics of English, Math, and Chinese scores, providing complete code examples, SQL statements, mapper definitions, and code‑generation configurations for each approach.

Backend DevelopmentCode GenerationFluent MyBatis
0 likes · 9 min read
Implementing Student Score Statistics with Fluent MyBatis, MyBatis, and MyBatis‑Plus
IT Xianyu
IT Xianyu
Jun 10, 2021 · Backend Development

Comprehensive Guide to MyBatis-Plus: CRUD, Annotations, Condition Builders, Pagination, and Advanced Features

This article provides a detailed tutorial on using MyBatis-Plus in Java, covering setup, entity and mapper definitions, CRUD operations, annotations, condition builders, pagination, AR mode, logical deletion, automatic field filling, optimistic locking, performance analysis, multi‑tenant support, dynamic table names, configuration options, and code generation.

CRUDJavaORM
0 likes · 45 min read
Comprehensive Guide to MyBatis-Plus: CRUD, Annotations, Condition Builders, Pagination, and Advanced Features
Code Ape Tech Column
Code Ape Tech Column
Jun 2, 2021 · Backend Development

Comprehensive Guide to MyBatis-Plus: Quick Start, Core Features, and Advanced Usage

This article provides a detailed tutorial on using MyBatis-Plus with Spring Boot, covering installation, quick start, CRUD operations, annotation usage, condition builders, pagination, AR mode, primary key strategies, configuration options, code generation, logical deletion, auto-filling, optimistic locking, performance analysis, multi‑tenant support, dynamic table names, and best‑practice summaries.

CRUDJavaORM
0 likes · 50 min read
Comprehensive Guide to MyBatis-Plus: Quick Start, Core Features, and Advanced Usage
Top Architect
Top Architect
Jun 1, 2021 · Backend Development

Comprehensive Guide to MyBatis‑Plus CRUD, Annotations, Wrappers, Pagination and Advanced Features

This article provides a detailed tutorial on using MyBatis‑Plus with Spring Boot, covering quick setup, entity and mapper definitions, CRUD operations, condition wrappers (including lambda and chain wrappers), pagination, ActiveRecord mode, primary‑key strategies, configuration options, code generation, and advanced features such as logical deletion, auto‑fill, optimistic locking, performance analysis, multi‑tenant and dynamic table name handling.

CRUDJavaORM
0 likes · 46 min read
Comprehensive Guide to MyBatis‑Plus CRUD, Annotations, Wrappers, Pagination and Advanced Features
Java Interview Crash Guide
Java Interview Crash Guide
May 30, 2021 · Backend Development

Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Advanced Tips

This comprehensive tutorial demonstrates how to integrate MyBatis-Plus with Spring Boot, covering basic setup, entity and mapper creation, CRUD operations, condition wrappers, pagination, logical deletion, automatic field filling, optimistic locking, and advanced features such as multi‑tenant and dynamic table name handling, complete with code examples.

CRUDLogical DeletionSpring Boot
0 likes · 46 min read
Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Advanced Tips
vivo Internet Technology
vivo Internet Technology
May 19, 2021 · Backend Development

MyBatis-Plus SQL Auto-Injection Principle Analysis

MyBatis‑Plus enhances MyBatis by automatically injecting CRUD SQL via BaseMapper, using entity annotations and template methods to map classes to tables, eliminating repetitive manual SQL, supporting lambda queries, pagination, and performance tools, all with minimal intrusion and overhead.

BaseMapperJavaMyBatis
0 likes · 10 min read
MyBatis-Plus SQL Auto-Injection Principle Analysis
Code Ape Tech Column
Code Ape Tech Column
Apr 25, 2021 · Backend Development

Master MyBatis-Plus: From Basics to Advanced CRUD, Pagination, and Code Generation

This comprehensive guide walks you through MyBatis-Plus fundamentals, non‑intrusive features, quick project setup, CRUD operations, automatic field filling, optimistic and logical locking, powerful wrapper queries, pagination, and the built‑in code generator, all illustrated with runnable examples and code snippets.

CRUDCode GenerationJava
0 likes · 25 min read
Master MyBatis-Plus: From Basics to Advanced CRUD, Pagination, and Code Generation
Top Architect
Top Architect
Apr 6, 2021 · Backend Development

MyBatis‑Plus Tutorial: Creating Databases, Defining Tables, CRUD Operations, Optimistic Locking, Logical Deletion, Performance Analysis, and Code Generation in Spring Boot

This article provides a step‑by‑step guide for using MyBatis‑Plus with Spring Boot, covering database and table creation, entity and mapper definitions, CRUD examples, automatic field filling, optimistic and logical deletion, performance plugins, query wrappers, and a code generator for rapid development.

CRUDCode GenerationSpring Boot
0 likes · 15 min read
MyBatis‑Plus Tutorial: Creating Databases, Defining Tables, CRUD Operations, Optimistic Locking, Logical Deletion, Performance Analysis, and Code Generation in Spring Boot
Architecture Digest
Architecture Digest
Apr 1, 2021 · Backend Development

Comprehensive Guide to MyBatis‑Plus CRUD, Configuration, and Advanced Features in Spring Boot

This article provides a step‑by‑step tutorial on using MyBatis‑Plus with Spring Boot, covering database creation, table definition, Maven dependencies, entity and mapper setup, CRUD operations, automatic field filling, optimistic locking, pagination, logical deletion, performance monitoring, query wrappers, and code generation, all illustrated with complete code examples.

CRUDJavaORM
0 likes · 15 min read
Comprehensive Guide to MyBatis‑Plus CRUD, Configuration, and Advanced Features in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jan 7, 2021 · Backend Development

Master MyBatis-Plus with Spring Boot: From Setup to Advanced Features

This guide walks through setting up a MySQL database, configuring a Spring Boot project with MyBatis‑Plus, defining entities and mappers, and demonstrates CRUD operations, pagination, logical and physical deletes, optimistic locking, performance monitoring, and code generation, providing complete code snippets and configuration details.

CRUDCode GenerationJava
0 likes · 17 min read
Master MyBatis-Plus with Spring Boot: From Setup to Advanced Features
Top Architect
Top Architect
Dec 27, 2020 · Backend Development

Comprehensive MyBatis‑Plus CRUD Guide for Spring Boot Applications

This article provides a comprehensive step‑by‑step guide on using MyBatis‑Plus in a Spring Boot application, covering table creation, Maven dependencies, configuration, entity and mapper definitions, CRUD testing, auto‑fill, optimistic and logical deletion, pagination, performance monitoring, query wrappers, and code generation.

CRUDJavaORM
0 likes · 14 min read
Comprehensive MyBatis‑Plus CRUD Guide for Spring Boot Applications
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 24, 2020 · Backend Development

Resolving Duplicate Mapper Bean Warnings in Spring Boot 2.x with MyBatis‑Plus 3.4.1

This article explains why Spring Boot 2.x combined with MyBatis‑Plus 3.4.1 emits duplicate mapper bean warnings, analyzes the root cause in the MyBatis‑Spring integration, and provides a step‑by‑step fix by aligning dependency versions, especially upgrading the pagehelper‑spring‑boot‑starter to 1.3.0.

Duplicate BeanSpring BootVersion Conflict
0 likes · 11 min read
Resolving Duplicate Mapper Bean Warnings in Spring Boot 2.x with MyBatis‑Plus 3.4.1
Architect's Tech Stack
Architect's Tech Stack
Nov 18, 2020 · Backend Development

Introducing MyBatis-Plus: Features, Architecture, and Quick Start Guide

MyBatis-Plus (MP) is a non‑intrusive MyBatis enhancement tool that offers a rich set of CRUD features, multi‑database support, code generation, and plugins, and this article explains its key capabilities, architecture diagram, and provides a step‑by‑step quick‑start example with Maven dependencies and sample query code.

Backend DevelopmentCRUDORM
0 likes · 5 min read
Introducing MyBatis-Plus: Features, Architecture, and Quick Start Guide
Top Architect
Top Architect
Sep 25, 2020 · Backend Development

Implementing Multi‑Tenancy with MyBatis‑Plus in a Spring Boot Application

This article explains the concepts of multi‑tenant architecture, compares three data isolation strategies, and provides a complete Spring Boot example that uses MyBatis‑Plus to automatically inject a tenant identifier into SQL queries, including configuration, entity definitions, and unit tests.

JavaSpring Bootdatabase isolation
0 likes · 14 min read
Implementing Multi‑Tenancy with MyBatis‑Plus in a Spring Boot Application
macrozheng
macrozheng
Sep 9, 2020 · Backend Development

Simplify SpringBoot Development with Mall‑Tiny: A Full‑Feature Backend Scaffold

mall‑tiny is an open‑source SpringBoot + MyBatis‑Plus scaffold that streamlines backend development by providing a lightweight project skeleton with integrated permission management, Docker support, Swagger documentation, and code generation tools, enabling rapid setup, customization, and deployment of secure REST APIs.

Backend ScaffoldDockerSpringBoot
0 likes · 13 min read
Simplify SpringBoot Development with Mall‑Tiny: A Full‑Feature Backend Scaffold
Selected Java Interview Questions
Selected Java Interview Questions
Aug 19, 2020 · Backend Development

Using MyBatis‑Plus to Simplify CRUD Operations in Java Spring Boot

This article introduces MyBatis‑Plus, a powerful Java ORM that eliminates the need for manual XML mappings by providing ready‑made CRUD APIs, demonstrates how to configure Maven dependencies, define entity and mapper classes, and implement common database operations such as insert, delete, update, select, pagination, and complex conditional queries within a Spring Boot controller, all while showing the generated SQL statements.

CRUDJavaORM
0 likes · 20 min read
Using MyBatis‑Plus to Simplify CRUD Operations in Java Spring Boot
Top Architect
Top Architect
Jul 3, 2020 · Backend Development

SpringBoot Scaffold Project with JWT and Shiro: Features, Setup, and Usage Guide

This article introduces a SpringBoot-based scaffold project that integrates JWT authentication and Apache Shiro authorization, outlines its key features such as custom annotations, bcrypt password encryption, and AOP transaction handling, and provides step‑by‑step instructions for setup, configuration, and running the application.

BackendJWTJava
0 likes · 6 min read
SpringBoot Scaffold Project with JWT and Shiro: Features, Setup, and Usage Guide
Java Architecture Diary
Java Architecture Diary
Jun 1, 2020 · Backend Development

How MyBatis-Plus Secures Configurations with a Custom EnvironmentPostProcessor

This article explains how MyBatis-Plus adds data-security protection to Spring Boot applications by encrypting datasource and property file values, details the custom EnvironmentPostProcessor implementation, loading mechanisms, and offers extension ideas and alternatives such as jasypt-spring-boot-starter.

Configuration EncryptionEnvironmentPostProcessorJava
0 likes · 6 min read
How MyBatis-Plus Secures Configurations with a Custom EnvironmentPostProcessor
Java Architecture Diary
Java Architecture Diary
May 26, 2020 · Backend Development

Secure Your Data with MyBatis‑Plus 3.3.2: New Encryption Features Explained

Version 3.3.2 of MyBatis‑Plus introduces elegant data‑security measures, including YML‑based encrypted configuration, AES key generation, and encrypted database credentials, while also delivering numerous bug fixes and enhancements such as pagination improvements, generator updates, and support for additional databases.

BackendJavadata security
0 likes · 4 min read
Secure Your Data with MyBatis‑Plus 3.3.2: New Encryption Features Explained
Wukong Talks Architecture
Wukong Talks Architecture
Feb 1, 2020 · Backend Development

Advanced MyBatis-Plus Query Cases (Third Wave)

The article provides a series of advanced MyBatis-Plus query examples, including table creation, data initialization, and four detailed cases that demonstrate the use of like, nested, in, and limit clauses with QueryWrapper, accompanied by SQL statements, Java test code, and execution screenshots.

Backend DevelopmentJavaORM
0 likes · 9 min read
Advanced MyBatis-Plus Query Cases (Third Wave)
Wukong Talks Architecture
Wukong Talks Architecture
Feb 1, 2020 · Backend Development

MyBatis-Plus Advanced Query Examples and Explanations

This article presents a series of MyBatis-Plus advanced query cases, including data preparation, detailed SQL and Java QueryWrapper examples, difficulty ratings, and complete code snippets to help developers master complex query operations in a Java backend environment.

Advanced QueryBackend DevelopmentJava
0 likes · 7 min read
MyBatis-Plus Advanced Query Examples and Explanations
Wukong Talks Architecture
Wukong Talks Architecture
Feb 1, 2020 · Backend Development

MyBatis-Plus Select Query Examples and Usage

This article provides a step‑by‑step tutorial on using MyBatis‑Plus select queries, including data preparation, SQL table creation, and detailed Java code examples for retrieving specific fields and filtering by age with both simple and advanced query wrappers.

Backend DevelopmentJavaORM
0 likes · 7 min read
MyBatis-Plus Select Query Examples and Usage
Wukong Talks Architecture
Wukong Talks Architecture
Feb 1, 2020 · Backend Development

Advanced Query Techniques in MyBatis-Plus: Date Filtering, Subqueries, and Dynamic SQL with apply and inSql

This article demonstrates how to use MyBatis-Plus for complex queries—including date filtering, sub‑queries, INNER JOIN, dynamic SQL with the apply method, and the inSql helper—while highlighting potential SQL‑injection pitfalls and providing complete runnable code examples.

Backend DevelopmentDynamic QueryJava
0 likes · 6 min read
Advanced Query Techniques in MyBatis-Plus: Date Filtering, Subqueries, and Dynamic SQL with apply and inSql