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.
The moose likes JDBC and Relational Databases and the fly likes Getting a entire row from a Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic
Author

Getting a entire row from a Database

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi Ranchers,

Very very good afternoon (IST)

Instead of getting a single column like rs.getString(1); , is it possible to get a whole row ?? is there any api support for this ??


Save India From Corruption - Anna Hazare.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Can you tell us in what format you'd expect to get a whole row of results? All columns are available from the "rs" object already, after all. What would you do with it that you can't do using the rs.getXYZ methods?
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Ya , my question is not a valid one .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting a entire row from a Database
 
It's not a secret anymore!