A PreparedStatement may return multiple results. The execute method returns a flag indicating the kind of result produced by PreparedStatement. The methods getResultSet or getUpdateCount are used to retrieve the first result, while getMoreResults must be used to retrieve the second and subsequent results.
@return true if the result of the execution is a ResultSet, false ifthere is no result or if the result is an update count.
@throws SQLException if a database error happens
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |