Connection conn = getConnection();
Connection conn = getConnectionViaDriverManager();
    private void executeSql(String sql) throws SQLException {        Connection conn = getConnection();        try {            Statement stmt = conn.createStatement();            stmt.execute(sql);        } finally {            conn.close();        }    }