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

Which type of driver provides jdbc access via one or more odbc drivers?

535


What is the function of drivermanager class?

564


What protocol does jdbc use?

533


What is the use of jdbc api?

519


How can we maintain the integrity of a database by using jdbc?

546






Which interface is responsible for transaction management in jdbc?

473


Which is best database for java?

538


What is jdbc connection class?

486


What is 2 phase commit?

573


List the advantages of using datasource?

567


What are the different types of lockings in jdbc?

511


Why is jdbc needed?

524


What is JDBC Transaction Management and why do we need it?

558


How can we store and retrieve images from the database?

520


Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?

601