문제

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?

도움이 되었습니까?

해결책 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).

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top