I'm writing an entity bean called from a session bean. For tests only, I do:

ctx.getUserTransaction().begin();
TestLocal t = home.findByPrimaryKey(id);

String str_field = t.getStringField();
Integer int_field = t.getIntegerField();

t.setStringField("New Value");
t.setIntegerField(new Integer(123));

ctx.getUserTransaction().commit();

And I see in the logs two calls to ejbLoad() and one to ejbStore().

In my application, I need to do 70 get* calls (for different table fields), and these 
calls to ejbLoad() are slowing my application.

Can anyone help me? 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to