O
O
Oxoron2017-08-13 20:04:31
Java
Oxoron, 2017-08-13 20:04:31

Tools for DB evolution/migration/deployment in Java (for .NET developer)?

I switched to a Java project a month ago, from .NET development. The project was carried out on a NoSQL base, all changes in which were carried out by changing annotations in Java models.
Now we need to migrate to MS SQL Server, and the question arises: how to deploy changes to the database? On the one hand, there is liquibase , but it only supports database changes, not models. There is Hibernate, but changes in the model will not lead to the deployment of the new schema.
That is, I have to change the database manually, automatically pull up the changes in liquibase, then manually change the Hibernate models.
Are there tools (toolchains) that allow you to deploy new database versions without data loss and automatically change Hibernate models?Something like SSDT + EF or the new EF Core in .NET?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kuznetsov, 2017-08-14
@Oxoron

If my memory serves me, Hibernate can itself generate a schema update script based on changes in the model ( https://stackoverflow.com/a/3923700/2822609) .
Also take a look here - https://stackoverflow.com/a/876420/2822609

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question