Setting setQueryTimeout for a query statement while trying to connect to Cloud
SQL from Java App Engine will make the request hang and eventually reach App
Engine's runtime limits (hitting DeadlineExceededException)
Sample Java code:
Connection conn = DriverManager.getConnection(url);
PreparedStatement statement = conn.prepareStatement("SELECT STATEMENT");
statement.setQueryTimeout(25);
ResultSet rs = statement.executeQuery();
Workaround: Remove the use of setQueryTimeout until the issue is resolved
Original issue reported on code.google.com by jfmontes...@google.com on 28 Jan 2015 at 10:27
Original issue reported on code.google.com by
jfmontes...@google.com
on 28 Jan 2015 at 10:27