-2
나는 아침부터이 문제를 해결하려고 노력해 왔습니다. 그러나 나는 할 수 없다.org.hibernate.QueryException : 속성을 확인할 수 없습니다 :
Query query = em.createQuery("Update ABC p set p.sync_status=14 where p.eventhistoryid in (select c.eventhistoryid from ABC c where c.sync_status=0 and c.receivedtimestamp >= getTimeStampAfterDeductingHours(24)");
ABC entity class contains the below column:
@Column(name="sync_status")
private short syncStatus = 0;
이 열은 SMALLINT TYPE이고 NULL이 아닙니다.
아래의 오류 방법 : HQL/JPQL에서
org.hibernate.QueryException: could not resolve property: sync_status .