Issue Type: Bug Bug
Affects Versions: 1.0-beta-3
Assignee: Unassigned
Attachments: dbunit-tableTypes.patch
Created: 30/Dec/13 7:28 AM
Description:

I would like to be able to specify alternative tables types, like "TABLE", "VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY", "LOCAL TEMPORARY", "ALIAS", "SYNONYM" in the plugin configuration.

This corresponds to the DatabaseConfig property "http://www.dbunit.org/properties/tableType".

This is because in my environment tables are not accessible directly, but only through views. Therefore, I want to be able to export and load data from and into views instead of tables.

For instance:


I have attached a patch with a working implementation of this request.
<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>dbunit-maven-plugin</artifactId>
  <version>1.0-SNAPSHOT</version>
  <configuration>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    <url>${database.url}</url>
    <tableTypes>
      <tableType>VIEW</tableType>
    </tableTypes>
    <schema>${schemaName}</schema>
  </configuration>
</plugin>
Environment: Maven 3, Java 5+
Project: Mojo's DbUnit Maven Plugin
Labels: wish
Priority: Major Major
Reporter: Eric Jan Malotaux
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to