Section outline

    • BB2-L25-M1 — Relational mindset and ACID
      Goal: Understand what a relational database is, why multiple users break naive code, and why ACID + transactions exist.

    • BB2-L25-M2 — JDBC pipeline and resource safety
      Goal: Know the JDBC workflow cold and write DB code that doesn’t leak resources or hang your server.

    • BB2-L25-M3 — PreparedStatement: safe parameters and safer updates
      Goal: Stop SQL injection, stop fragile string-building, and write parameterized SQL like a pro.

    • BB2-L25-M4 — ResultSet → objects: types, nulls, and identity
      Goal: Convert rows to Java objects without silent data corruption (especially around NULLs).

    • BB2-L25-M5 — Transactions, savepoints, and batch updates
      Goal: Make multi-step DB work correct under failure and load.

    • BB2-L25-M6 — JPA concepts: entities, persistence context, lazy loading, and N+1
      Goal: Understand the ORM mental model so you can predict performance and avoid “it worked on my machine” disasters.