Two Laptop Bag
The moose likes EJB and other Java EE Technologies and the fly likes Entity Bean Instances Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Entity Bean Instances" Watch "Entity Bean Instances" New topic

Entity Bean Instances

Idly Vada
Ranch Hand

Joined: Sep 02, 2003
Posts: 135
Hi !
If I map an entity bean to a table having say 1 million rows. If I want to perform an operation which uses all rows of the table, will the container create an entity bean instance for each row?
How the container will deal this issue?
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Have you read this thread on the subject?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: Entity Bean Instances
It's not a secret anymore!