Domanda

Is there a good or recommended tool that manages both DDLs and DMLs migrations?

Majority of my App configuration is stored in a database, I want to be able to freely develop and migrate this and not only the DDLs. Any suggestions on this?

È stato utile?

Soluzione 3

Checking various tools, the solution for us was to refine DBUnit to support migration scripts. The XML structure as the output allows for a very good Source Control and cross vendor solution (we work with both DB2 and Oracle).

Altri suggerimenti

Both Flyway and Liquibase can deal with DML.

Speaking from the Flyway perspective, Flyway has been built from the ground up with both DDL and DML (configuration, reference data, ...) in mind. The whole range of DML commands can be used as migrations are written as plain SQL files.

For a more detailed comparison of both frameworks have a look at this question and the comparison matrix on the Flyway homepage.

Liquibase handles DML as well as DDL. http://liquibase.org/manual/refactoring_commands lists available tags, including insertData, loadData, deleteData, etc.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top