[jboss-user] [EJB/JBoss] - Re: Way to implement a removeAll() method?

2007-06-08 Thread seansawyer
Except, unfortunately, that the project in question does not use Hibernate. It seems that there is no way to accomplish this through EJB: http://forum.java.sun.com/thread.jspa?threadID=5174100messageID=9671593 The impetus for this post was that, with a sufficiently large number of entities, I

[jboss-user] [EJB/JBoss] - Way to implement a removeAll() method?

2007-06-05 Thread seansawyer
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

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: CMP JDBC2 PM ignores read-ahead strategy = none

2007-03-28 Thread seansawyer
I am also experiencing a similar problem. Were you able to find a solution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032483#4032483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032483

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Cascading deletion fails intermittently due to NPE

2007-03-26 Thread seansawyer
When attempting to remove a bean that has cascading deletion defined on its relationship to another bean, I sometimes receive an NPE when the removal is attempted. The relevant portion of the stack trace is as follows: | 14:03:34,448 INFO [STDOUT]