-)
Cheers
-Original Message-
From: Rickard Öberg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 9:29 AM
To: jBoss
Subject: Re: [jBoss-User] ejb finder question
Hi!
Jay Walters wrote:
> I don't believe you execute the findByPrimaryKey method if you are using
> another find
Richard Gyger wrote:
> But the updates are still written out as separate db calls. If you are going
> to do the same update action on 1000 entity instances, it could be more
> efficient to use a session bean to update them all with one call.
True.
> It really depends on the use of the entity.
>
e-off.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard Öberg
Sent: Tuesday, December 12, 2000 8:29 AM
To: jBoss
Subject: Re: [jBoss-User] ejb finder question
Hi!
Jay Walters wrote:
> I don't believe you execute the findByPrimaryKey method if
e-off.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard Öberg
Sent: Tuesday, December 12, 2000 8:29 AM
To: jBoss
Subject: Re: [jBoss-User] ejb finder question
Hi!
Jay Walters wrote:
> I don't believe you execute the findByPrimaryKey method if
Hi!
Jay Walters wrote:
> I don't believe you execute the findByPrimaryKey method if you are using
> another finder, but you certainly load them one at a time. The findByFoo
> returns a collection of Pks and the container will load the entity beans for
> you one at a time using those keys.
But n
[mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 8:12 PM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] ejb finder question
Im a little confused I think. I need to find and return around 1000 entity
beans
in one call, but it looks like the EJB spec forces a container
implementation to
load the
ginal Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Craig Day
Sent: Monday, December 11, 2000 7:12 PM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] ejb finder question
Im a little confused I think. I need to find and return around 1000 entity
beans
in one call, but it looks
Im a little confused I think. I need to find and return around 1000 entity
beans
in one call, but it looks like the EJB spec forces a container
implementation to
load these beans one at a time,.. i.e. you define the finder method that
returns
the collection of 1000 primary keys, and then you re