You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
treat() jpa 메소드 사용 과정에서 에러 발생. 기존에는 native query로 해결하였으나, 다른 방식으로 해결 필요
🧐 버그 발생 과정
에러 원인 확인
native query 수정
📷 Screenshots
Hibernate: update (select * from alarm t where t.dtype='FollowAlarm') set status='DELETED' where follow_id=? and dtype='FollowAlarm' and (alarm.status = 'ACTIVE')
2024-07-02T16:22:36.063+09:00 WARN 18528 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1248, SQLState: 42000
2024-07-02T16:22:36.063+09:00 ERROR 18528 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : Every derived table must have its own alias
The text was updated successfully, but these errors were encountered:
🔍 버그 설명
treat() jpa 메소드 사용 과정에서 에러 발생. 기존에는 native query로 해결하였으나, 다른 방식으로 해결 필요
🧐 버그 발생 과정
📷 Screenshots
The text was updated successfully, but these errors were encountered: