This content has been marked as final.
Show 3 replies
-
1. Re: Flush needed to check @Version on delete
epbernard Sep 8, 2005 12:07 PM (in response to milx)yes
-
2. Re: Flush needed to check @Version on delete
epbernard Sep 8, 2005 12:07 PM (in response to milx)And you should catch StaleStateException to be safe, AFAIR
-
3. Re: Flush needed to check @Version on delete
milx Sep 12, 2005 9:43 AM (in response to milx)Thanks for your replies, this fix is working for be, and the Jboss specific code is not tied to my (portable) beans.
I will post my remarks regarding Exception handling to the EJB feedback e-mail. However, there is a section named ?Exception Handling? (chapter 13) in the ?EJB Core Contracts and Requirements?, which I have not read. For instance it mentions the javax.ejb.NoSuchEntityException, which I suppose could replace my ObjectDeletedException.