I meant the code for the transaction you posted the log in the previous post. 
Ok, so looking at the log I can say that 
1. the finder is executed in its own transaction, preloads data which thorwn away when 
tx commits.
2. getId() is executed w/o transaction (NotSupported), load command preloads data 
which is then thrown away.
3. getSignature() is executed in the transaction which loads the instance third times 
now.

Wrap everything in one transaction. If you want to get Id, use 
javax.ejb.EJBLocalObject.getPrimaryKey(), it won't pass the invocation down the 
interceptor chain.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to