Consider the code in 
[How do I delete all JPA entities?](https://stackoverflow.com/questions/3333308/how-do-i-delete-all-jpa-entities)
The documentation here <http://download.oracle.com/docs/cd/E17410_01/javaee/6/tutorial/doc/gjitv.html>
describes only queries.