JDBC timeout
843859Jan 11 2008 — edited Nov 20 2014hi,
I'm in trouble with timeout values. i want to connect to oracle and mysql servers , however, connect-time/login-time can sometimes be more than 2 minutes. i tried to set driver's timeout properties, but i doesn't work.
here is the timeout parameters i tried to set:
for oracle:
-connection-timeout
-loginTimeout
-queryTimeout
-oracle.jdbc.ReadTimeout
for mysql :
-connectTimeout
-socketTimeout
-autoReconnect
is there anyone who can help me?