template

Programming/JDBC

[JDBC] Template, Lombok 라이브러리, Favicon

⭐Templates (코드조각) queryNoParamNoReturn 매개변수(X) 반환값(X) try { String sql = "${sql}"; stat = conn.createStatement(); return stat.executeUpdate(sql); } catch (Exception e) { e.printStackTrace(); } queryParamNoReturn 매개변수(O) 반환값(X) try { String sql = "${sql}"; pstat = conn.prepareStatement(sql); pstat.setString(1, ${value}); return pstat.executeUpdate(); } catch (Exception e) { e.printStackTrace(); }..

Isaac-Christian
'template' 태그의 글 목록