Finally, I found a way to export single tables. Use dbunit and the 'export'
goal. In the configuration
section, define the tables you want to export. Here is an example:
org.codehaus.mojo
dbunit-maven-plugin
Hmmm ... I couldn't find any information. And the maven parameters don't look
like it'll be possible to address single tables. :-)
Has anyone else tried this?
Martin
mraible wrote:
>
> Yes, it should be possible. It is with Ant.
>
> http://mojo.codehaus.org/dbunit-maven-plugin/
>
> Matt
>
Yes, it should be possible. It is with Ant.
http://mojo.codehaus.org/dbunit-maven-plugin/
Matt
On Wed, Sep 3, 2008 at 8:15 AM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> Is it possible to import/export/drop/ (include/exclude) single tables with
> dbunit?
> Possibly via ?
>
> Scenario: In a nigh
Is it possible to import/export/drop/ (include/exclude) single tables with
dbunit?
Possibly via ?
Scenario: In a nightly process I drop the tables, get data from another
application,
create a flat xml default-data.xml file and repopulate the database. Since I
do not want
to loose users/roles, I'