-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 и NOT NULL.
Получение ниже сообщение об ошибке:
org.hibernate.QueryException: could not resolve property: sync_status .