Hi All,
JDBC API has Query Timeout parameter in PreparedStatement.
PreparedStatement ps= connection.prepareStatement(QUERY);
ps.setQueryTimeout(seconds);
I need to set this parameter every time, when I create prepared statement from connection.
Is there any way to set this parameter globally, so that eery prepared statement will be created from connection, has already query timeout parameter.
Thanks