I developed a
java bean class for a
JSP which does exactly
what you asked. It makes a DB query, gets the RecordSet.
Creates one
dbObject per Record. Adds it to a Vector.
Returns the Vector.
You can take this bean, and write your application (main)
method, and verify the results in the Vector.
Not everything here is my own and I forgot exactly where I got the stuff from maybe jGuru/IBM/Sun/JRun site or something else.
Help yourself.
Regds.

- satya
[This message has been edited by Madhav Lakkapragada (edited September 28, 2000).]
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81