This content has been marked as final.
Show 2 replies
-
1. Re: Problems with the update method in Jboss Seam + Hibernat
gavin.king Sep 21, 2006 10:52 AM (in response to lara)Right, EJB persistence operations happen asynchonously. Call flush() if you want to force an update to occur.
-
2. Re: Problems with the update method in Jboss Seam + Hibernat
lara Sep 22, 2006 4:56 AM (in response to lara)Thanks for replying. The problem is that a user is editing actor information and when clicking on the update method, I have to check if the name is not already saved to the database. What I am doing, is checking first if the name is unique but what is happening is that the update is occuring implicitly before I can make the checking so everytime I will get an error message saying that the name is unique because it has been saved to the database when the update took place. How can I solve this? I want to be able to do the checking before the update action takes place. Thank you in advance.