Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrations for Java [closed]

I use both ruby on rails and Java. I really enjoy using migrations when I am working on a rails project. so I am wondering is there a migrations like tool for Java? If there is no such tool is it a good idea to use migrations as a tool to control a database used by a Java project?

like image 256
Josh Moore Avatar asked Sep 25 '08 01:09

Josh Moore


People also ask

What is migration in Java?

Migration Tool automates the migration of Java EE applications to Sun Java System Application Server 9.1, without much modification to the source code. The key features of the tool are: Migration of application server-specific deployment descriptors.

Does Flyway require Java?

All you need is Java 7+ and your Jdbc driver and you're good to go!

Is Flyway better than Liquibase?

While both tools are based on Martin Fowler's Evolutionary Database, there are many differences in what these tools offer. Here's where Liquibase and Flyway differ. The bottom line is that Liquibase is more powerful and flexible — covering more database change and deployment use cases than Flyway.

What is Flyway Java?

Flyway updates a database from one version to the next using migrations. We can write migrations either in SQL with database-specific syntax, or in Java for advanced database transformations.


1 Answers

For a feature comparison between

  • Flyway
  • Liquibase
  • c5-db-migration
  • dbdeploy
  • mybatis
  • MIGRATEdb
  • migrate4j
  • dbmaintain
  • AutoPatch

have a look at http://flywaydb.org

This should be a good start for you and anyone else to select the right tool for the job

like image 94
Axel Fontaine Avatar answered Sep 20 '22 00:09

Axel Fontaine