my dog learned polymorphism
The moose likes Testing and the fly likes [DBUnit] how to extract data from my database on the basis of some condition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "[DBUnit] how to extract data from my database on the basis of some condition" Watch "[DBUnit] how to extract data from my database on the basis of some condition" New topic
Author

[DBUnit] how to extract data from my database on the basis of some condition

leo zeo
Greenhorn

Joined: Jun 20, 2008
Posts: 8


according to this code i will get the complete data of all tables of user table and its dependent tables.
Is there any method by which i can pass some condition to fetch the records?

my query would be like ...fetch me the records associated with only user_id=5 instead of fetching all records of user table and its dependent tables.

any pointers would be helpful

Thanks,
Leozeo
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2753
    
    9

Please check your PMs


SCJP, SCWCD.
|Asking Good Questions|
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: [DBUnit] how to extract data from my database on the basis of some condition