Planetary Scale Postgres for Spring Boot Apps: A Fast Migration Path for Devs
summary
Live-codes a Spring Boot 2.7.4 app (Maven, Java 17) using JPA, the Postgres JDBC driver and Lombok, bootstraps data with a CommandLineRunner, and confirms three records persist locally with Hibernate create-drop. Then the JDBC URL is swapped to Azure Database for PostgreSQL (planetary Postgres) and the same jar is run, demonstrating a migration by changing the connection string and verifying the app writes and reads from Azure in seconds—demo completes under 15 minutes.
AI-written summary · about
chapters (6)
- 0:00Planetary Scale Postgres intro
- 1:05Spring Boot with local Postgres
- 5:23Entities and repositories
- 7:57Loading sample data
- 10:05Migrating to Azure Postgres
- 12:55Resources and next steps
related talks
44mPostgres for Java Developers
20mCloud Native Spring for Relational Databases
24mMigrating from Oracle to Azure Database for PostgreSQL, Seamlessly
43mPostgresQL as an Application Modernization
46mPostgreSQL, REST API's and Rapid Application Development for Legacy Data
51mJump Start Your Developer Journey in 60 Minutes: Go from 0 to Expert
49mDatabase-centric Applications with Spring Boot and jOOQ
56mSeamless Migration to Azure Database for PostgreSQL
