views:

1046

answers:

2

I am looking for a simple tool to generate a DBUnit dataset from existing data in a database. Namely I need to be able to construct a query of a limited amount of that data, and just use these results for the dataset.

Eclipse has a tool, but as far as I can tell, it only lets you pull all data out of a given table, but that is much too much data for my purposes.

Anybody know of a good (free) tool for this purpose?

+3  A: 

Hmmm, I guess I should have browsed around the DBUnit website a bit more...

http://www.dbunit.org/faq.html#extract

Mike Stone
+1  A: 

http://jailer.sourceforge.net/