Code example for Connection

Methods: closeisClosed

0
//		return DriverManager.getConnection("jdbc:postgresql://localhost:5432/procurados", "postgres", "admin"); 
	} 
 
	@Override 
	public void closeConnection(Connection conn) throws SQLException {
		if(conn != null && !conn.isClosed())
			conn.close();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE