Does the hql function current_timestamp() use the time from the server the java code is running on or the server the database is running on?
HQL queries are translated to SQL queries, and SQL queries are executed by the database. So the current_timestamp()
equivalent SQL function will be executed on your database server.