FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Moving from Hibernate Auto-DDL to Liquibase - Finovara
How-ToWeb Development

Moving from Hibernate Auto-DDL to Liquibase - Finovara

via Dev.to WebdevMarcin Parśniak12h ago

Hello! For a long time in my Spring Boot project, I relied on hibernate.ddl-auto = update It was simple. Change an entity → restart the app → the database updates itself. But when the project grew to 18 entities , I realized something important: I had zero control over my database history. So I decided to switch to Liquibase . What I Changed Disabled Hibernate auto schema updates spring : jpa : hibernate : ddl-auto : none From that moment, Hibernate stopped modifying the database structure . 2. Enabled Liquibase spring : liquibase : enabled : true change-log : classpath:db/changelog/changelog.xml 3. Added simple changeSets <changeSet id= "1-create-users" author= "Marcin Parśniak" > <createTable tableName= "users" > <column name= "id" type= "BIGINT" autoIncrement= "true" > <constraints primaryKey= "true" nullable= "false" /> </column> <column name= "username" type= "VARCHAR(255)" > <constraints nullable= "false" unique= "true" /> </column> <column name= "password" type= "VARCHAR(255)" >

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles

How to Stay Consistent While Learning Programming
How-To

How to Stay Consistent While Learning Programming

Medium Programming • 55m ago

Junior Devs Use System.out.println(). Senior Devs Use These 4 Observability Patterns in Spring Boot
How-To

Junior Devs Use System.out.println(). Senior Devs Use These 4 Observability Patterns in Spring Boot

Medium Programming • 2h ago

Laravel Reverb Multi-App: One WebSocket Server for All Your Projects
How-To

Laravel Reverb Multi-App: One WebSocket Server for All Your Projects

Medium Programming • 2h ago

Data Locks & Concurrency Control
How-To

Data Locks & Concurrency Control

Medium Programming • 4h ago

This Perfect Tradingview Buy & Sell Signal Indicator | This Will Blow Your Mind
How-To

This Perfect Tradingview Buy & Sell Signal Indicator | This Will Blow Your Mind

Medium Programming • 5h ago

Discover More Articles