Closes the database connection.
throws: SQLException - if an error occurs
fireConnectionEvent
public synchronized void fireConnectionEvent(boolean closed, SQLException sqlException)(Code)
Fires a new connection event on all listeners.
Parameters: closed - true if close has been called on theconnection; false if the sqlException representsan error where the connection may not longer be used. Parameters: sqlException - the SQLException to pass to the listeners