SQL Bean.java 의 기본 메소드 형태 public String getEtcMemo(String privateKey){ String memo = ""; try{ DBmgr= new DBConnection(this); con= DBmgr.getConnection(); sqlStr = new StringBuffer(); sqlStr.append("SELECT * FROM LOG \n"); sqlStr.append("WHERE PRIVATE_KEY = ? \n"); pstmt = con.prepareStatement(sqlStr.toString()); pstmt.setString(1, privateKey); rs = pstmt.executeQuery(); rtResult = new ReturnResult(rs); if(rtResult.getRowC.. 더보기 이전 1 ··· 5 6 7 8 9 10 11 ··· 236 다음