10/25/2019 Optimistic Lock Exception Peoplesoft
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts. Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com.
Attention, Internet Explorer User Announcement: Oracle Community has discontinued support for Internet Explorer 7 and below. In order to provide the best platform for continued innovation, Oracle Community no longer supports Internet Explorer 7. Oracle Community will not function with this version of Internet Explorer.
Please consider upgrading to a more recent version of Internet Explorer, or trying another browser such as Firefox, Safari, or Google Chrome. (Please remember to honor your company's IT policies before installing new software!).
![]()
Re: eclipselink-users Optimistic Lock Exception expected Re: eclipselink-users Optimistic Lock Exception expected. From: James Sutherland. Date: Mon, 30 Mar 2009 10:37:37 -0700 (PDT). Delivered-to: [email protected] A lock error should occur on your merge call, it is unexpected if it does not. Ensure that you have an @Version in your object. If still not getting the error please include the code for your class and the log on finest of your test. Mathias Koehnke - Sun Microsystems wrote: Hiwhile replacing Toplink Essentials (2.0.1-b04-fcs ) by EclipseLink 1.1 for a Java SE project, I came across a problem that prevents me from switching: I would expect getting an Optimistic Lock exception in case an entity gets removed from the database (by another thread or whatever) and one tries to commit on a still-existing runtime object of that entity.
That was my expectation and it worked with Toplink Essentials so far. Using EclipseLink it doesn't throw an OL exception, instead the entity gets re-inserted in the database. Am I using JPA/EclipseLink the wrong way or do I miss something?
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |