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

Delphi change the assembly code of a running process -

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

C++ 11 "class" keyword -