- sql
- the SQL statement to execute.
- columnIndexes
- an array of indexes of the columns in the inserted row which should be made available for retrieval via the getGeneratedKeys method.
Documentation for this section has not yet been entered.
Type Reason Java.Sql.SQLException if an error occurs accessing the database.
Executes the supplied SQL statement. This may return multiple ResultSets. This method allows retrieval of auto generated keys specified by the supplied array of column indexes, if the SQL statement is an INSERT statement.
Use the getResultSet or getUpdateCount methods to get the first result and getMoreResults to get any subsequent results.