What is the constructor in Java? A constructor is used to initialize the value to the object. A constructor contains variables and other statements which are executed at the time of object creation. How to define a constructor in Java and how to initialize the value to an object. Type of constructor in Java. Default […]
Best Java Interview , OOPs in Java , Nested Classes in Java, Inner Classes in Java , Inheritance in Java , Interface and Abstract Class in Java,
This video discussed about how to set appropriate ResultSet fetch size to improve the performance while fetching records from database server. Its a recommended feature of JDBC to optimize performance. Its set as : ResultSet.setFetchSize(25); The size 25 here can be changes as best suitable in your network. Generally this size is same as per-page-record-count.