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
Post a Comment