Hibernate DDL Manager
Controlled schema evolution from Hibernate metadata. The server migrates the database at startup, and renames stay renames because every table and column carries a stable ID.
Installation
schema-integration brings every other module along. The application provides Hibernate ORM 7.4 and the PostgreSQL JDBC driver.
A rename, not a drop
The entity and its properties carry IDs. Rename the field and its column, keep the ID, and the next start renames the column in place.
Switch it on
Three Hibernate settings turn the migration on. Hibernate itself may only validate afterwards.
Stable IDs instead of names
Eight random hex digits per entity and property, assigned once. Names may change freely; the ID tells the framework what stayed.
A stored model instead of scripts
Every migration stores its target model in the database. The next start plans against it, so a server may skip releases.
Refuse instead of guess
What loses data needs an approval, what cannot be planned is refused with a message. Nothing is guessed.
From the first ID to the running server
Start with stable IDs and the startup migration; the other pages cover changes that need a decision.