Can someone help me to implement the following query in JPA.
select * from Location where create_Tmstp < sysdate - 10;
It actually throwing the following error while converting this.
Exception Description: Syntax error parsing [select l from Location l where l.createTmstp < (CURRENT_TIME - 100) ]. The left expression is not an arithmetic expression.