Exforsys

Free Training

resultset in java

This is a discussion on resultset in java within the Java Tutorials forums, part of the Articles and Tutorials category; Hi, could anbody explain or provide with any links for a detailed, indepth working of the resultset in java? Thanks, ...

Go Back   Exforsys > Articles and Tutorials > Java Tutorials

Exforsys.com


Java Tutorials Java Tutorials and Articles Discussions

Reply

 

LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 09-06-2005, 01:52 AM
Junior Member
 
Join Date: Sep 2005
Posts: 1
tejas is on a distinguished road
resultset in java

Hi,
could anbody explain or provide with any links for a detailed, indepth working of the resultset in java?

Thanks,
Tejas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-21-2006, 06:36 AM
Junior Member
 
Join Date: Aug 2006
Posts: 5
gpraveen_mca is on a distinguished road
ResultSet is basically useful for traversing through the data in the database.
ResultSet provides various getXXX methods to retrieve data from the database in various formats like int, double, String, Date, Timestamp etc.

A ResultSet maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row. The 'next' method moves the cursor to the next row.

You can retrieve values using either the index number of the column. Columns are numbered from 1.

ResultSet's are two types.
1. Updateable
2. Non Updateable

The difference is Updateable ResultSet's allow you to update while traversing through the data while Non Updateable doen't.

You can find more in the following links :

ResultSet (Java 2 Platform SE v1.4.2)

Interface java.sql.ResultSet
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-03-2007, 01:22 AM
Junior Member
 
Join Date: Jan 2007
Posts: 1
sbsvirgo is on a distinguished road
ResutlSet link..

Hi Tejas..
U can get the details of Interface ResultSet on the Sun's API documentation on the following link..

Java 2 Platform SE v1.4.2

Hope this will help u.

Sagar.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.