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 075a782 commit 75a6650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Member implements UserDetails {
@Column(nullable = false)
private String password;

@Column
@Column(name = "fire_id")
private Long fireId;

@OneToMany(mappedBy = "member",fetch = FetchType.LAZY,cascade = CascadeType.ALL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class SchoolLoginRepository {

public boolean loginCheck(String username, String password) {
String sql = "SELECT F_LOGIN_CHECK(?, ?) FROM DUAL";
log.info("학교 로그인 조회 :{}",username);
try {
String result = jdbcTemplate.queryForObject(sql, String.class, username, password);
log.info("학교 디비 조회 결과 : {}",result);
Expand Down

0 comments on commit 75a6650

Please sign in to comment.