*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 2716
    
    6

Please check your PMs


SCJP, SCWCD.
|Asking Good Questions|
 
jQuery in Action, 2nd edition
 
subject: [DBUnit] how to extract data from my database on the basis of some condition