Tagged articles

ORM Framework

1 articles · Page 1 of 1
Architecture Pony
Architecture Pony
Oct 15, 2026 · Backend Development

MyBatis Deep Dive: Architecture, Source Code & Best Practices

A comprehensive 14k-word technical deep-dive into MyBatis covering its semi-automatic ORM design, four core components (Executor, StatementHandler, ParameterHandler, ResultSetHandler), dynamic SQL parsing via SqlNode trees, two-level caching, plugin mechanism, Spring integration, and source-code-level analysis of 11 key classes with practical best practices and common pitfalls.

CachingDynamic SQLJava Persistence
0 likes · 36 min read
MyBatis Deep Dive: Architecture, Source Code & Best Practices