Code example for Connection

Methods: closeisClosed

0
		return settings; 
	} 
 
	public void closeConnection() throws SQLException { 
 
		if (connection != null && !connection.isClosed()) {
			connection.close();
		} 
 
	} 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java