i have 1000 records in resultset, how to get first 100
records from resultset, because resultset fetch all 1000
records at a time?
Answer Posted / a kumar
If your intention is to dislay only 100 records to the
user, then better make the change the query to retrieve
first 100 recs. (like say fetch first 100 rows in Db2).
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is jdbc type?
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
What is the different between ResultSet and RowSet?
What are dml and ddl?
What are the functions of the jdbc connection interface?
What is drivermanager in java?
What are different types of JDBC Drivers?
Which jdbc drivers will run your program?
How do I set properties for a JDBC driver and where are the properties stored?
How to test jdbc connection to sql server?
What is statement and preparedstatement in java?
How does jdbc work?
Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?
Does jdbctemplate use prepared statements?
Discuss the significances of jdbc.