Crack The Backend
Search documentation
/
Home
Core Backend
Algorithms
System Design
Data Structures
MyBatis
menu_book
8 articles
Batch Insert/Update Patterns
Efficient batch operations in MyBatis with BATCH executor and foreach.
Dynamic SQL Best Practices
Best practices for dynamic SQL in MyBatis.
MyBatis First/Second Level Cache
Caching in MyBatis at SqlSession and Mapper level.
Mapper Design for Maintainability
Designing MyBatis mappers for long-term maintainability.
N+1 Query Problem & Fix Patterns
The N+1 problem and how to fix it with JOIN, IN, or lazy loading.
Parameter Binding & SQL Injection Safety
Safe parameter binding in MyBatis with
Plugin/Interceptor - When to Use
MyBatis plugins and interceptors for cross-cutting concerns.
ResultMap vs ResultType - When It Matters
When to use ResultMap vs ResultType in MyBatis.
Back to home