Exforsys
+ Reply to Thread
Results 1 to 3 of 3

resultset in java

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

  1. #1
    tejas is offline Junior Member Array
    Join Date
    Sep 2005
    Answers
    1

    resultset in java

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

    Thanks,
    Tejas


  2. #2
    gpraveen_mca is offline Junior Member Array
    Join Date
    Aug 2006
    Answers
    5
    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


  3. #3
    sbsvirgo is offline Junior Member Array
    Join Date
    Jan 2007
    Answers
    1

    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.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...