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;

+ Recent posts