• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IS there any function to get entire row

 
Arun Maalik
Ranch Hand
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Ranchar i would like to know one thing that to get the result of a particuar columns we use the function like getString(),getInt() so that we can get particular columns from result set. Is there any function so that we can get entire complite one row at a time from ResultSet .

Regard

Arun
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Arun Maalik:
Is there any function so that we can get entire complite one row at a time from ResultSet .



didn't get what you trying to do.. ?
 
Arun Maalik
Ranch Hand
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well now see i have written a code like below



Now suppose authors table has 3 columns now i want to see contents of these 3 columns on output console at same time then i have to use 3 time rs.getString() (if all 3 columns contane string data ) like

rs.getString(1);
rs.getString(2);
rs.getString(3);

Now i want to know that is there any function so that i can get complite 3 columns that is complite row at a time without using columns function like rs.getString()
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think your first place to be find you answer in ResultSet Java Doc.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic