Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven DBUnit Configuration..how to enable shorthand syntax?

 
Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.....
 
Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solved.... you just need to specify the format as flat (not xml)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic