Can't you do something like:
int deletedEntities = entityManager.createQuery("delete from Customer");
if you want to remove all records from a customer table? I have not tried this yet, but it
works in Hibernate based on their documentation:
http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/batch.h...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052362#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...