© Anghel Leonard 2020
A. LeonardSpring Boot Persistence Best Practiceshttps://doi.org/10.1007/978-1-4842-5626-8_12

12. Schemas

Anghel Leonard1 
(1)
Banesti, Romania
 

Item 92: How to Set Up Flyway in Spring Boot

For production, don’t rely on hibernate.ddl-auto (or counterparts) to export schema DDL to the database. Simply remove (disable) hibernate.ddl-auto or set it to validate and rely on Flyway or Liquibase. This item presents several aspects of setting Flyway as the database migration tool in Spring Boot.

This section contains applications for MySQL and PostgreSQL.

In this context, is important to know that the terms database, schema, and catalog represent the same thing in MySQL, while in PostgreSQL, a database is the same as a catalog and can have ...

Get Spring Boot Persistence Best Practices: Optimize Java Persistence Performance in Spring Boot Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.