Tagged articles
9 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Apr 29, 2026 · Backend Development

10 Common MyBatis-Plus Pitfalls and How to Avoid Them

This article analyzes ten frequent pitfalls when using MyBatis-Plus—such as incorrect pagination totals, pagination plugin misconfiguration, logical delete failures, auto‑fill issues, optimistic‑lock mismatches, null handling in QueryWrapper, batch‑insert performance, enum mapping errors, wrapper condition overrides, and type‑handler problems—provides root‑cause explanations, concrete code examples, and practical solutions to help developers write more robust and efficient Java backend code.

Batch InsertEnum MappingJava
0 likes · 19 min read
10 Common MyBatis-Plus Pitfalls and How to Avoid Them
Java Backend Technology
Java Backend Technology
Apr 28, 2026 · Backend Development

10 Common MyBatis-Plus Pitfalls and How to Avoid Them

This article examines ten frequent pitfalls when using MyBatis-Plus—such as incorrect pagination counts, disabled pagination, logical‑delete mishandling, auto‑fill failures, optimistic‑lock issues, batch‑insert slowness, enum mapping errors, JSON type‑handler problems, and query‑wrapper quirks—explains their causes, and provides concrete code‑level solutions and best‑practice recommendations.

Batch InsertEnum MappingJSON TypeHandler
0 likes · 18 min read
10 Common MyBatis-Plus Pitfalls and How to Avoid Them
Top Architect
Top Architect
Oct 16, 2022 · Backend Development

Using MyBatis-Plus saveOrUpdate with UpdateWrapper and QueryWrapper

This article explains how MyBatis-Plus's saveOrUpdate method works, why a primary‑key annotation is required, and how to control insert or update operations using UpdateWrapper or QueryWrapper, including code examples, common pitfalls, and practical tips for handling auto‑increment IDs.

JavaMyBatis-PlusORM
0 likes · 8 min read
Using MyBatis-Plus saveOrUpdate with UpdateWrapper and QueryWrapper
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
Jan 31, 2020 · Backend Development

Advanced MyBatis-Plus Query Examples: AND, Nested, IN, and LIMIT

This tutorial demonstrates several advanced MyBatis-Plus query scenarios—including combined AND conditions, nested expressions, IN clauses, and limiting results—by providing complete SQL setup, Java QueryWrapper code samples, execution logs, and result screenshots for each case.

Backend DevelopmentJavaQueryWrapper
0 likes · 7 min read
Advanced MyBatis-Plus Query Examples: AND, Nested, IN, and LIMIT