You dont need an array of data beans. Store your data bean in an
ArrayList or in a Vector.

e.g

ArrayList empList = new ArrayList();
Employee emp = null;
while(rst.next())
{
   emp = new Employee();
   /*
          Fill the employee object with the records from the database.

   */

 empList.add(emp);
}

return empList;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to