Question
Is there some way in Oracle SQL to simulate long running query ?
Why?
I want to test jdbc timeouts on Tomcat server from Java. Ideally I want some view that calls proc/function which would be sleep for defined time.
Problem
I have no access to use dbms_lock procedure, so I have to use something else.