Persistence Workflows with IntelliJ IDEA
summary
Starts from a legacy SQL script, runs it in a Docker Postgres, then generates JPA entities for five core tables and validates them with Hibernate Create JPA entities from database. Establishes a Flyway baseline (set to v2) and creates V3–V5 migrations for adding machine_status, renaming crafting_speed to speed_multiplier, and dropping pollution Flyway baseline v2. Switches to code‑first diffs, generates DDL to paste into migrations and even delegates controller/DTO/mapper generation to an AI agent delegate task to AI agent.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:38Legacy database schema
- 6:51Setting up the schema baseline
- 8:33Create Java entities
- 16:19Evolving the database schema
- 31:40Switching to code-first approach
- 46:02Building a service layer
- 50:55Delegate task to AI agent
- 54:28Closing
related talks
52mDB-first Meets Code-first: Persistence Workflows in IntelliJ IDEA
58mBootiful IntelliJ IDEA
01h 10mReal World Iterative Database Development
14mPlanetary Scale Postgres for Spring Boot Apps: A Fast Migration Path for Devs
16mVersion Your Databases with Flyway
50mCreate Your Perfect Persistence Stack
20mGetting Started Quickly with DB DevOps
20mGetting Started Quickly with DB DevOps
