javax.persistence.lock.timeout specifies the lock wait timeout in milliseconds, whereas the HANA WAIT clause expects seconds.