Rare Earth Juejin Tech Community
Oct 4, 2025 · Backend Development
Mastering MySQL Duplicate Key Update with Custom MyBatis‑Plus Injector
Learn how to efficiently handle upserts in MySQL by leveraging the native DUPLICATE KEY UPDATE feature, simplifying code with a custom MyBatis‑Plus AbstractMethod injector, complete with thread‑safe locking, SQL generation, and integration steps for seamless backend development.
Duplicate Key Updatebackend-developmentjava
0 likes · 9 min read
