Pan Zhi's Tech Notes
Author

Pan Zhi's Tech Notes

Sharing frontline internet R&D technology, dedicated to premium original content.

33
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Pan Zhi's Tech Notes

33 recent articles
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Feb 8, 2025 · Databases

How to Choose the Right Database Transaction Isolation Level

This article explains MySQL’s transaction isolation mechanisms, compares the four isolation levels with concrete examples, shows how they affect phenomena like dirty reads, non‑repeatable reads and phantom reads, and provides practical guidance on configuring and avoiding long transactions.

MVCCMySQLRead Committed
0 likes · 15 min read
How to Choose the Right Database Transaction Isolation Level
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Jan 26, 2025 · Backend Development

Mastering Spring Transaction Management: From JDBC to @Transactional

This article explains the fundamentals of transaction handling in Spring Boot, covering both programmatic approaches with PlatformTransactionManager and TransactionTemplate and declarative management using @Transactional, while detailing common pitfalls, propagation and isolation settings, and providing concrete code examples.

Declarative TransactionJDBCProgrammatic Transaction
0 likes · 23 min read
Mastering Spring Transaction Management: From JDBC to @Transactional
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Jun 15, 2024 · Backend Development

Build a Button‑Level User Permission System Step‑by‑Step with Spring Boot & MyBatisPlus

This tutorial walks through designing a button‑level user permission system—including a five‑table database schema, Spring Boot + MyBatisPlus project setup, code generation, menu CRUD operations, recursive menu tree construction, role‑based permission queries, and annotation‑driven request authorization—complete with runnable code snippets and sample data.

Backend DevelopmentJavaMenu Authorization
0 likes · 18 min read
Build a Button‑Level User Permission System Step‑by‑Step with Spring Boot & MyBatisPlus