In this article lets discuss about querying huge database tables using JDBC api.
Consider a scenario where we have a huge database table with (say 1 million records), and the requirement is to display those records in your application UI.
Generally we will use the JDBC api in java to query the database table, iterate the ResultSet object and display the results in UI.