executeUpdate

Die Methode int executeUpdate() gehört zum Query Interface. Sie führt ein Update oder Delete aus.

/**
* Execute an update or delete statement.
* @return the number of entities updated or deleted
* @throws IllegalStateException if called for a Java
* Persistence query language SELECT statement
* @throws TransactionRequiredException if there is
* no transaction
*/