RE: [JBoss-dev] Finders, Selectors and ... deleters?

2003-01-17 Thread Jeremy Boynes
I was thinking about something while looking at my application's database behaviour... in many cases it is very inefficient to use a finder method together with remove() for large collections. It would be so much more efficient to have something like public int deleteByCode(int code);

Re: [JBoss-dev] Finders, Selectors and ... deleters?

2003-01-17 Thread Dain Sundstrom
On Friday, January 17, 2003, at 11:08 AM, Jeremy Boynes wrote: This leaves the JBoss-QL part read-only (it just qualifies the instances to be deleted). We know we're deleting Transactions as the method would be on the home interface for the Transaction EJB. I think we should support a full

Re: [JBoss-dev] Finders, Selectors and ... deleters?

2003-01-17 Thread Dain Sundstrom
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dain Sundstrom Sent: Friday, January 17, 2003 1:14 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Finders, Selectors and ... deleters? On Friday, January 17, 2003, at 11:08 AM, Jeremy Boynes wrote

RE: [JBoss-dev] Finders, Selectors and ... deleters?

2003-01-17 Thread Bill Burke
Thanks men. Sorry to be a nag.. :) Hope you don't mind. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dain Sundstrom Sent: Friday, January 17, 2003 1:42 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Finders, Selectors and ... deleters