InterviewSolution
| 1. |
How Can Resultset Records Be Restricted To Certain Rows? |
|
Answer» The easy answer is "Use a JDBC 2.0 compliant driver". With a 2.0 driver, you can use the setFetchSize() method within a Statement or a ResultSet object. stmt.setFetchSize(400); ResultSet rs = stmt.executeQuery("select * from customers"); will change the default fetch size to 400. The easy answer is "Use a JDBC 2.0 compliant driver". With a 2.0 driver, you can use the setFetchSize() method within a Statement or a ResultSet object. will change the default fetch size to 400. |
|