| Author |
Maven DBUnit Configuration..how to enable shorthand syntax?
|
Duran Harris
Ranch Hand
Joined: Nov 09, 2008
Posts: 571
|
|
Hi Guys,
Can someone please tell me how to configure the Maven DBUnit to use the shorthand syntax when exporting the xml dataset...
For example when I create XML files for DBUnit to populate the test database from, I can use a shorthand syntax where the XML tag name is the table name and the tag attributes are the column names...
but when I use the maven DBUnit plugin to export the test data as XML from a different database , the XML it generates looks like this:
Which is giving me a huge headache since the file is ridiculously large when there are many rows....
Any ideas please?I am using Maven 3.....
|
===>SCJP 1.5(72%)<===
==>SCWCD1.5(76%)<===
|
 |
Duran Harris
Ranch Hand
Joined: Nov 09, 2008
Posts: 571
|
|
|
Solved.... you just need to specify the format as flat (not xml)
|
 |
 |
|
|
subject: Maven DBUnit Configuration..how to enable shorthand syntax?
|
|
|