Hi all, I have a session bean with user transactions. One transaction deletes a record from CPM bean another does a findAll. The problem seems to be that the findAll finds entities that have been deleted by the first transaction. Hence I get a NoSuchEntityException.
What I want is for the findAll transaction to wait until the first transaction has finished. I am using JBoss 3.0.3, Postgre 7.2 java 1.4. I have tried setting the transaction isolation level to transaction_serializable. Now instead of getting the NoSuchEntityException, I get "java.sql.SQLException: ERROR: Can't serialize access due to concurrent update". According to the postgres documentation this means I need to retry the transaction. Trouble is I can't seem to catch this exception how do I retry? (it appears that it is caught and logged inside jboss somewhere). Can anyone provide any insights? thanks! -- Glenn ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
