Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
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, how could
we
do this.
The challenge in this is
that Querying DB tables with huge set of records it will take
more
time to iterate the records from DB and more over
we get OutOfMemory error if
we load
such a huge ResultSet into JVM memory.
To avoid these kind
of issues, better set the ResultSet
FetchSize to
appropriate number
so that your JDBC Statement would
fetch only that number of records.
rs.setFetchSize(fetchSize);
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.