This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi Folks, How can we make each record that we are retriving from a database as OBJECT. and add that record to other OBJECT like vector. can any body give me a clue how to write the code for this please.and also is there any ready made example available in any site. Thanks Peter
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).]