Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 1169

Data dump

$
0
0
I am trying, programmatically in Java, to dump data to a changelog script. I can manage to dump the schema but cannot fathom how to just dump the data, resulting in the very same changelog script file if I had run this from the command line:

liquibase --driver=oracle.jdbc.OracleDriver --logLevel=flag \
      --classpath=/Users/mcutis/Projects/mcurtis/setup/ojdbc7.jar \
      --changeLogFile=db.changelog.data.xml \
      --url="jdbc:oracle:thin:@//localhost:1521/orcl" \
      --username=root \
      --password=root \
      --diffTypes="data" generateChangeLog

Viewing all articles
Browse latest Browse all 1169


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>