InvalidDataAccessApiUsageException: org.hibernate.QueryException: could not instantiate class
아....참 ㅋㅋ
이것때문에 어제 1시간을 봣는데
https://stackoverflow.com/questions/40960093/spring-data-jpa-could-not-instantiate-class
Spring Data JPA could not instantiate class
I have problem with my code. I paste below my DAO interface: public interface EventDao extends CrudRepository<Event, Integer>{ ... @Query("SELECT new com.patryk.entity.ActionStatistics(e.a...
stackoverflow.com
꼼꼼히 테이블 파라미터를 확인합시다.
제 코드 변경점
private long userId; ->private Long userId;
'웹 > Spring' 카테고리의 다른 글
Spring Security 구조에 대해서 - SecurityFilterChain (1) | 2023.12.09 |
---|---|
Spring Security 구조에 대해서 - FilterChainProxy (0) | 2023.12.09 |
Spring Security 구조에 대해서 - DelegatingFilterProxy (1) | 2023.11.24 |
Spring Security 구조에 대해서 - 필터(filter)에 대해서 (0) | 2023.11.24 |
Post Fix 메일 (smtp 서버)/ spring 메일 전송 (1) | 2023.10.31 |