Skip to content

database-rider/dbunit-addon

Repository files navigation

DBUnit Addon

This addon brings Database rider exporter to your IDE via JBoss Forge.

Build Status (Travis CI) Coverage

Installation

Use install addon from git command:

addon-install-from-git --url https://github.com/database-rider/dbunit-addon.git

Or install from Forge catalog:

Install from catalog

Usage

  1. Setup database connection

    Setup command
  2. Export database tables into YAML, JSON, XML, XLS and CSV datasets.

    Export command

Export configuration

  • Format: Dataset format.

  • Include tables: Name of tables to include in generated dataset. If empty all tables will be exported.

  • Dependent tables: If true will bring dependent included tables. Works in conjunction with includeTables.

  • Query list: A list of SQL statements which resulting rows will be used in generated dataset.

  • Output dir: directory to generate dataset.

  • Name: name of resulting dataset. Format can be ommited in dataset name.

Oracle database

As oracle jdbc driver is not on maven central the plugin doesn’t come with it on classpath hence it cannot connect to Oracle DB by default.

In order to make the plugin work with oracle will you need to download the jdbc driver and copy to dbunit-addon folder located at user_home/.forge/addons/com-github-database-rider-addon-dbunit-addon-1-0-0-SNAPSHOT

ℹ️
You need to restart Forge after adding the oracle driver.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages