my thoughts on programming and other nerdy stuff

December 7, 2010
by poornerd

Database Migration with Liquibase and DbUnit

Today I needed to migrate a MySQL database to Oracle – with a repeatable process, as the project is currently in a development phase.

I already knew that I could use DbUnit to migrate the data, once the database schemas were migrated, so I was pleased to discover that I could use Liquibase – a project I had never heard of – to solve that problem.

I setup a ant based script to execute the tasks. Continue reading