I am not sure, but the problem might be that there is more than one transaction triggered by your successive entity access. The retrived data is only valid during the transaction it was initialy fetched in. If (e.g. by a call to another method) a new transaction is started afterwards, the application server marks your 'old' data as out-of date and throws as exception.
What are your transaction settings for your entity beans ? Required, RequiresNew, ... ? Maybe declaring some of your methods as "read-only" might help... My first step for clarifying your problem cause would be to wrap the your failing entity access into one single user transaction (your entity beans should use "Required" transaction attribute). This should ensure that all of your entity data access runs within the same single transaction ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823302#3823302 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823302 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
