I want to implement a method on an entity bean's home interface to remove all 
entities of a particular type. Basically, I'm looking for something akin to the 
following simple SQL query:


  | DELETE FROM entitytable;
  | 

My initial idea was to try to use EJB-QL to do this, but upon further 
investigation I found that it doesn't have a DELETE keyword at all (at least in 
the version I'm using).

Is there any other way to do this?

Using EJB 2.1 / JBoss 3.2.7

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051313#4051313

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051313
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to