|
DbUnitSetupTool
INSERT dataset into a database.
IntroductionInvoke DBUnit to import a database dump from xml or excel format. Optional execution of DELETE with a different dataset possible. UsageYou can use the invocation "dbSetup" from within the dbmigrate tool's xml configuration (see xml script features). java com.agimatec.database.DbUnitSetupTool {driver} {url} {user} {password} [-d {deleteDataFile}] [-i {insertDataFile}]OptionsParameters in required sequence:
Examplejava com.agimatec.database.DbUnitSetupToolorg.postgresql.Driver jdbc:postgresql://localhost:5432/testdb admin password -d delete_data.xml -i testdb.xml |
► Sign in to add a comment