A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
[DBUnit] how to extract data from my database on the basis of some condition
Joined: Jun 20, 2008
Dec 03, 2010 01:42:24
String depTableNames =TablesDependencyHelper.getAllDependentTables( connection, "user" ); IDataSet depDataSet = connection.createDataSet(depTableNames);
according to this code i will get the
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
Joined: Jun 06, 2007
Dec 03, 2010 09:19:27
Please check your PMs
Asking Good Questions
It is sorta covered in the
JavaRanch Style Guide
subject: [DBUnit] how to extract data from my database on the basis of some condition
join Hibernate query problem (Small problem)
Performance issue - selecting data from a large table
Performance tuning to select two whole tables for one-to-one mapping
Basic question about Hibernate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014