It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android 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|
 
wood burning stoves
 
subject: [DBUnit] how to extract data from my database on the basis of some condition
 
Similar Threads
Performance issue - selecting data from a large table
Performance tuning to select two whole tables for one-to-one mapping
Basic question about Hibernate
Pagination Framework/libraries
join Hibernate query problem (Small problem)