Useful Statement Methods (Cont.)
• execute
– Generic method for executing stored
procedures and prepared statements • getMaxRows/setMaxRows
– Determines the maximum number of rows a ResultSet may contain
• getQueryTimeout/setQueryTimeout
– Specifies the amount of a time a driver will wait for a STATEMENT to complete before throwing a SQLException