Method setQueryTimeout(int seconds)
Return type: void
Member of: java.sql.Statement
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 ps.setQueryTimeout(10);
2 public void setQueryTimeout(int seconds) throws SQLException { _stmt.setQueryTimeout( seconds); }
3 public void setQueryTimeout(int seconds) throws SQLException { checkOpen(); _stmt.setQueryTimeout(seconds);}
4 _cs.setQueryTimeout(p1);
5 statement.setQueryTimeout(queryTimeout);
6 m_pstmt.setQueryTimeout (seconds);
7 statement.setQueryTimeout(queryTimeout);
8 delegate_.setQueryTimeout( seconds );
9 smt.setQueryTimeout(QUERY_TIMEOUT);
10 stmt.setQueryTimeout(holder.getTimeToLiveInSeconds());
11 sqlStatement.setQueryTimeout(stmtTimeout);
12 ps.setQueryTimeout(DEFAULT_QUERY_TIMEOUT);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.