I'm not sure if I'm asking this in the right forum, but I'm trying to design a class structure for database access. I want to create a class which holds the most frequently used statements. Right now, I have a class which executes the statements and returns the result set.
Then, in my calling class, I instantiate the PreparedSQL class.
My question is, is this a good design? What are the pros and cons of doing something else, say returning a Vector instead of the recordset? If anyone has any tips (or knows of any good books), I would be most appreciative.
Sorry, it put smilies for
in
jdbcdbc!
[This message has been edited by Jeremy Hooie (edited November 09, 2001).]