I am using JBoss 3.2.5 (xdoclet based) with MySQL 4.1
I have been load testing my application and have found that separate database 
calls are being made to retrieve the persistent field values.
The ejb finders are making a single call to retrieve all the field values.
Is there a way to make the local entity bean retrieve all the filed values at 
once and use them instead of making separate calls to the database?

For example,
customerLocal.getName();
customerLocal.getAddress();

makes distinct database calls 
select name from customer where (customerId=?)
select address from customer where (customerId=?)

Instead I would like the ejb container to make a single call
select customerId, name, address, etc from customer where (customerId=?)



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874455#3874455

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874455


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to