Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

close Method (SQLServerConnection)

Releases this SQLServerConnection object's database and JDBC resources immediately instead of waiting for them to be automatically released.


public void close()

This close method is specified by the close method in the java.sql.Connection interface.

Calling the close method in the middle of a transaction causes the transaction to be rolled back.

Show:
© 2015 Microsoft