JDBC & setQueryTimeout - or is there another way to set query timeout?
649631Jul 11 2008 — edited Jul 12 2008I am trying to set query timeout for TimesTen using jdbc library. But it seems like TimesTen jdbc library does not support setQueryTimeOut. Is there a way to set it without having to set it statically in the DNS?
I tried to set the SqlQueryTimeout in the connection string but it doesn't work either:
Connection connection = DriverManager.getConnection(
"jdbc:timesten:client:TTC_SERVER=bleh;TCP_PORT=17013;TTC_Server_DSN=blah;TTC_Timeout=0;SqlQueryTimeout=5;");
Thanks for your help!