Code example for Connection

Methods: close

0
    } 
 
    public static void closeQuietly(Connection con) {
        if (con != null) {
            try { 
                con.close();
            } catch (SQLException ignore) {
            } 
        } 
    } 
 
    public static void closeQuietly(ResultSet con) {
        if (con != null) {
            try { 
                con.close();
            } catch (SQLException ignore) {
            } 
        } 
    } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE