ALL_SERIES
SERIES_OVERVIEW // CURRICULUM_MAP

Learn Java MyBatis, Patterns, Anti-Patterns, and Production Persistence Mapping

// Kaufman-based skill map and mental model for mastering MyBatis as an explicit SQL mapping layer in production Java systems.

30 Lessons461 Min Total04 Phases

This overview is designed to help you choose the right entry point quickly. Follow the full track from lesson one, continue from your last checkpoint, or jump straight into a phase that matches what you need right now.

advanced-engineeringaggregateannotationsanti-patternsarchitecture+73 more

Curriculum Map

Navigate by phase, then choose the lesson that matches your current depth.

07

Parameter Binding and SQL Injection Safety

12 min

Advanced guide to MyBatis parameter binding, SQL injection safety, safe dynamic identifiers, whitelisting, pagination inputs, and multi-tenant query safety.

08

ResultMap Deep Dive

15 min

Advanced ResultMap deep dive covering resultType vs resultMap, explicit column mapping, constructor mapping, association, collection, discriminator, immutable records, and mapping failure modes.

09

Advanced Object Graph Mapping

18 min

Advanced object graph mapping with MyBatis covering aggregate reconstruction, association, collection, join flattening, nested select trade-offs, identity handling, row explosion, and deliberate object shape control.

10

Projections, Read Models, and Query-Specific Shapes

15 min

Projection and read model design with MyBatis covering query-specific shapes, DTO boundaries, reporting models, dashboard queries, regulatory case-management read models, API response projections, and projection evolution.

11

TypeHandlers, Enums, JSON, Time, and Domain Values

16 min

Advanced MyBatis TypeHandler engineering for enums, JSON, Java time, domain value objects, nullability, and production-safe conversion boundaries.

12

Dynamic SQL in XML

15 min

Advanced MyBatis XML dynamic SQL design covering if, choose, trim, where, set, foreach, bind, safe query composition, search screens, and anti-patterns.

13

MyBatis Dynamic SQL Library

12 min

Advanced MyBatis Dynamic SQL library guide covering type-safe SQL construction, table modeling, rendering strategies, mapper integration, optional predicates, safety rules, and production patterns.

14

Query Composition Patterns

12 min

Advanced MyBatis query composition patterns covering criteria objects, predicate reuse, search screens, sorting, offset and cursor pagination, authorization scope, count consistency, and query governance.

15

Bulk Operations, Batch, and Set-Based Thinking

13 min

Bulk operations, batch executor, set-based update thinking, idempotent commands, failure handling, and production-grade batch persistence patterns with MyBatis.

16

SqlSession Lifecycle and Executor Model

11 min

SqlSession lifecycle, SqlSessionFactory, mapper proxy, executor types, local cache behavior, transaction boundaries, thread-safety, and runtime failure modes in MyBatis.

17

Spring Integration and Transaction Semantics

16 min

MyBatis-Spring integration, Spring-managed SqlSession lifecycle, transaction semantics, propagation behavior, exception translation, multi-datasource risks, and production transaction design.