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?
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.
All you need is Java 7+ and your Jdbc driver and you're good to go!
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.
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.
For a feature comparison between
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With