Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
leo zeo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your PMs
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic