question: @ Transactional public int deleteAll ( ) { List < T > allEntities = retrieveAll ( ) ; for ( T entity : allEntities ) { delete ( entity ) ; } return allEntities . size ( ) ; }
target:  Deletes all instances of class T in the database.