You'll get an SQL-Exception when closing a result set that allready has been
closed (e.g. when it has reached the last set). However I get these errors
on every other version of the jvm as well. You don't need to close a
resultset. It will be closed automatically when you use the producing
statement for the next query, or when you close the connection (or
statement? I'm not to sure of this. Just check the spec.)
The newInstance-method is needed for some mac implementations of the jvm, as
these don't call this
method when the class object is requested. In all other implementations, the
newInstance is called within the forName-method. Thus leaving the
newInstance away shouldn't make a difference.
yours
Toyin
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets