Platform: Java 8, liquibase, derby 10.11.1.1, liquibase 3.5.3Here's what I want to do
- Write Java code that creates a derby database using a liquibase schema (already in place)
- Write Java code to parse CSV data from a legacy system and populate the derby database using plain JDBC
- Export the data from the derby database as SQL in a form that can be used to populate a PostgreSQL database initialized by the same liquibase schema
Since I already have Liquibase available, is there a way I could accomplish step 3 using liquibase?
Or would it be less effort to just do selects in JDBC and walk the resultsets to output them as SQL in print statements?