What is meant by a ResultSet?

Answer Posted / p.l.n.kumar

A Resultset is a pointer pointing to the data retrieved
into database buffer.Hence for this reason,Resultset object
exist only as long as client connected with database.
-Resultset maintains cursor pointing to each record
retrieved into DB buffer.
-its cursor position starts from 'before first record'
to 'after last record' .
-Resultset allows unidirectional navigation and also allows
us to retrieve data only once in the life span of the
object.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the execute method in java?

542


Does sql allow null values ? Can we use it within where clause ?

504


What are the steps to connect to the database in java?

516


What are the advantages of using preparedstatement over statement?

533


Explain the JDBC Architecture?

559






How can we store and retrieve images from the database?

507


What is jndi lookup?

507


Explain the two tier and three tier architecture of jdbc.

520


Explain the difference between rowset vs. Resultset in jdbc?

570


Explain the steps in writing a java program using jdbc?

444


What is com mysql jdbc driver?

495


Is jdbc a web technology?

491


What is a datasource in java?

496


What is database deadlock ? How can we avoid them?

507


Compare jdbc and odbc and how is jdbc required in this context.

518