wood burning stoves 2.0*
The moose likes JDBC 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
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?


Ping & DNS - my free Android networking tools app
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Ya , my question is not a valid one .
 
 
subject: Getting a entire row from a Database
 
Similar Threads
adding an empty row to a datatable
For Loops making me loopy
Doubt Example
Using KeyListener with JTable
Text Wrapping in JTable - Help!