runtime error - Hibernate add seconds to current time -



runtime error - Hibernate add seconds to current time -

i want add together 100 seconds current time in hibernate query language. below respective sql query.

update table1 t1 set t1.timeout = date_add(current_date, interval :5 second) id=1

but when run query using hibernate says unexpected token interval

the interval function doesn't have hibernate equivalent. improve handle add-on in application code , pass final value sql.

hibernate runtime-error hql

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -