Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

w6 빌드오류 #39

Open
Kdonghs opened this issue Oct 7, 2024 · 0 comments
Open

w6 빌드오류 #39

Kdonghs opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working fixed

Comments

@Kdonghs
Copy link
Contributor

Kdonghs commented Oct 7, 2024

문제

  • jpa 쿼리 생성 오류로 인한 런타임 에러

원인

  • isDeleted가 integer로 되어 있다가 Boolean으로 변경하는 과정에서 오류가 발생함
  • 리포지토리에서 integer값(삭제여부)을 받아서 쿼리를 조회하다가 IsDeleteFalse로 변경해서 더이상 integer파라미터가 불필요해짐

해결

  • Optional findByEmailAndIsDeleteFalse(String email, Integer isDelete);를 주석처리or 삭제하고 사용
  • userService 51라인 UserEntity user = userRepository.findByEmailAndIsDeleteFalse(parsingPram.getEmail(req))으로 변경
@seoyoung-dev seoyoung-dev added bug Something isn't working fixed labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants