Answer Posted / devarathnam c,kotagudibanda(po
Hi...You can use one separate query for that purpose
i.e String query ="select count(*) from emp";
It will give u total no.of records in ResultSet.
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What is new in JDBC 2.0?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
Explain about the drive manager class working?
What are the 4 types of jdbc drivers?
How do I receive a ResultSet from a stored procedure?
Under what circumstances, that all four drivers are used?
How do I insert an image file (or other raw data) into a database?
Describe the steps needed to execute a sql query using jdbc.
What are the different types of lockings in jdbc?
What is connection pooling and why it is used?
Explain creation of statement object with connection method create method with help of an example.
What is correlated subquery?
What is odbc and jdbc drivers?
What are different types of ResultSet?
Explain the two tier and three tier architecture of jdbc.