public BeanResult(Class<T> clazz, DBRowSet rowset)
{
this.clazz = clazz;
// Create the command
DBDatabase db = rowset.getDatabase();
cmd = db.createCommand();
// Select all accessible columns
int count = 0;
Method[] methods = clazz.getMethods();
for (DBColumn col : rowset.getColumns())
{ // obtain the bean property Name