Skip to content

Commit

Permalink
[Refactor] 학교 디비 접속 실험
Browse files Browse the repository at this point in the history
  • Loading branch information
hen715 committed May 2, 2024
1 parent d02f61e commit c225e42
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public boolean loginCheck(String username, String password) {
String sql = "SELECT F_LOGIN_CHECK(?, ?) FROM DUAL";
try {
String result = jdbcTemplate.queryForObject(sql, String.class, username, password);
log.info("학교 디비 조회 결과 : {}",result);
return "1".equals(result);
} catch (Exception e) {
log.info("데이터베이스 연결 오류 메시지 : {}",e.getMessage());
Expand Down

0 comments on commit c225e42

Please sign in to comment.