I don't see Connection.close in the JavaDoc. Where is it?
I see an isClosed?

Signature
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Gerd Nachtsheim - 11 Jun 2004 23:21 GMT
> I don't see Connection.close in the JavaDoc. Where is it?
> I see an isClosed?
From isClosed() scroll the docs a bit up to the previous method and it sayz
<quote>
close
public void close()
throws SQLException
Releases this Connection object's database and JDBC resources immediately
instead of waiting for them to be automatically released.
Calling the method close on a Connection object that is already closed is a
no-op.
Note: A Connection object is automatically closed when it is garbage
collected. Certain fatal errors also close a Connection object.
Throws:
SQLException - if a database access error occurs
</quote>
This is in 1.4.2 and I am pretty sure it's been there in earlier versions.
Hope that helps
Gerd

Signature
Gerd Nachtsheim mailto:gerdn@users.sourceforge.net ICQ:#13126958
David Rabinowitz - 13 Jun 2004 15:16 GMT
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Connection.html#close()
> I don't see Connection.close in the JavaDoc. Where is it?
> I see an isClosed?