This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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
Similar Threads
CMP with Triggers
Doubt in ejb instance
How many instance of ejb created for a table
Group functions.
CMP Entity Beans Vs BMP Entity Beans