Hi

Are there any known issues related to Statement.setQueryTimeout() in
1.2.147?
I'm trying to set a 2 seconds query timeout on a statement. To test
the feature, I created a user defined function that basically blocks
for 5 seconds (Thread.sleep()). I expected the statement to throw an
SQLException after 2 seconds but the query terminates only after 5
seconds.
Is this due to the fact that I'm not running h2 in multi-threaded
mode? Or is Thread.sleep() a command that h2 cannot interrupt?

Any ideas?

Thanks
Remo

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to