ALL_SERIES
SERIES_OVERVIEW // CURRICULUM_MAP

Learn Java SQL, JDBC, Transactions, Connection Management & HikariCP

// Kaufman-based skill map for mastering Java SQL/JDBC as a production system boundary: mental models, invariants, failure modes, and deliberate practice roadmap.

32 Lessons506 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.

advancedanti-patternsarchitectureauditautocommit+84 more

Curriculum Map

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

01

Kaufman Skill Map: JDBC as a System Boundary

17 min

Kaufman-based skill map for mastering Java SQL/JDBC as a production system boundary: mental models, invariants, failure modes, and deliberate practice roadmap.

02

The Java SQL Stack: java.sql, javax.sql, Driver, Database, Network

14 min

Deep dive into the Java SQL stack: java.sql, javax.sql, JDBC drivers, DriverManager, DataSource, network boundaries, database sessions, and production implications.

03

JDBC Core Object Model: Connection, Statement, PreparedStatement, CallableStatement, ResultSet

14 min

Deep dive into the JDBC core object model: Connection, Statement, PreparedStatement, CallableStatement, ResultSet, metadata, SQLException, object ownership, lifecycle, and production-grade usage rules.

04

Connection Lifecycle: From Borrow to Close

14 min

Production-grade connection lifecycle: acquisition, borrow-use-return, physical vs logical connections, pooled close semantics, state reset, leaks, thread ownership, and lifecycle invariants.

05

Statement Execution Model: Execute, Query, Update, Batch

13 min

Statement execution model in JDBC: executeQuery, executeUpdate, execute, large update counts, generated keys, batches, multiple results, timeout, cancellation, and production-grade execution invariants.

06

PreparedStatement Deep Dive: Binding, Type Mapping, Injection Defense

11 min

PreparedStatement deep dive for advanced Java engineers: parameter binding, type mapping, null handling, SQL injection boundaries, dynamic SQL safety, IN clauses, generated SQL, plan reuse, and common production pitfalls.

07

ResultSet Deep Dive: Cursor, Streaming, Fetch Size, Memory Pressure

12 min

ResultSet deep dive for advanced Java engineers: cursor model, result set type, concurrency, holdability, fetch size, streaming large results, memory pressure, null handling, row mapping, and production anti-patterns.

08

SQL Type Mapping: Java Types, JDBC Types, Database Types

14 min

SQL type mapping for advanced Java engineers: Java types, JDBC Types, JDBCType, database types, precision, scale, nullability, String and numeric semantics, UUID, JSON, arrays, enums, BLOB/CLOB, and vendor-specific type boundaries.

09

Time, Time Zone, and Temporal Correctness in JDBC

13 min

Temporal correctness for advanced Java/JDBC engineers: java.sql.Date, Time, Timestamp, java.time, JDBC 4.2+, Instant, LocalDate, LocalDateTime, OffsetDateTime, database timezone, JVM timezone, audit timestamps, business dates, DST, reporting, and temporal anti-patterns.

10

Transaction Fundamentals: Auto-Commit, Commit, Rollback

10 min

Transaction fundamentals for advanced Java/JDBC engineers: auto-commit, commit, rollback, transaction scope, exception paths, rollback failure, ambiguous commit, connection state, try-with-resources, transaction runner, and production-grade transaction invariants.

11

Transaction Isolation: Read Phenomena and Real Database Behavior

18 min

Deep dive transaction isolation untuk engineer Java/JDBC: SQL read phenomena, JDBC isolation constants, MVCC vs locking behavior, lost update, write skew, database-specific behavior, testing anomalies, dan decision framework isolation level.

12

Locking, Blocking, Deadlock, and Timeout Semantics

17 min

Production-grade guide to locking, blocking, deadlock, and timeout semantics in Java/JDBC systems: row locks, range locks, lock ordering, query timeout, lock timeout, pool timeout, transaction timeout, cancellation, retry, and incident diagnosis.

13

Savepoints and Partial Rollback

13 min

Savepoints and partial rollback in JDBC, including transaction semantics, correct usage patterns, failure handling, framework interaction, and anti-patterns.

14

Connection Management Patterns Without Frameworks

12 min

Connection management patterns without frameworks, including transaction runners, DAO/repository boundaries, resource ownership, exception translation, and anti-patterns.

15

DataSource Deep Dive: Why Production Code Should Prefer It

16 min

Deep dive into javax.sql.DataSource as the production-grade connection factory abstraction for JDBC applications, including DriverManager migration, vendor implementations, container-managed configuration, security, and operational boundaries.

16

Connection Pooling Fundamentals: Why Pools Exist and What They Are Not

18 min

Production-grade mental model of JDBC connection pooling as a bounded resource: why pools exist, what they solve, what they do not solve, queueing, sizing intuition, failure modes, and anti-patterns.

17

HikariCP Fundamentals: Architecture, Defaults, and Lifecycle

21 min

Production-grade introduction to HikariCP: architecture, lifecycle, HikariDataSource, HikariConfig, logical connection proxies, validation, housekeeper behavior, shutdown, observability, and common anti-patterns.

18

HikariCP Configuration Deep Dive

24 min

Deep dive into HikariCP configuration: essential properties, timeout semantics, pool sizing-related knobs, lifecycle properties, validation, leak detection, transaction defaults, metrics, JMX, driver properties, and production configuration anti-patterns.