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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -