This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Entity Bean Instances" Watch "Entity Bean Instances" New topic
Author

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
author
Sheriff

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


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
Don't get me started about those stupid light bulbs.
 
subject: Entity Bean Instances
 
Similar Threads
Group functions.
CMP with Triggers
Doubt in ejb instance
How many instance of ejb created for a table
CMP Entity Beans Vs BMP Entity Beans