Yes, MySQL. My code was current as of the evening of 08/23 (trunk). Might be a MySQL issue...
Thanks for trying to reproduce it. Kevin On Wed, Aug 25, 2010 at 10:17 AM, Michael Dick <[email protected]>wrote: > I tried with the latest code (as of yesterday) and I wasn't able to > reproduce it. > > I did make a couple of classpath changes and I only tried with Derby. Were > you using MySQL by any chance? > > -mike > > On Tue, Aug 24, 2010 at 8:53 AM, Kevin Sutter <[email protected]> wrote: > > > Hi, > > I'm using the OpenBooks sample for a demo and I periodically hit an > > Optimistic Lock Exception while loading the database: > > > > ant -f run.xml load > > > > This doesn't happen every time, but often enough to have me post this > > question and see if this is a known issue. > > > > [java] Caused by: <openjpa-2.1.0-SNAPSHOT-r422266:988223M nonfatal > > store error> org.apache.openjpa.persistence.OptimisticLockException: An > > optimistic lock violation was detected when flushing object instance > > "openbook.domain.Inventory-U0205-90" to the data store. This indicates > > that > > the object was concurrently modified in another transaction. > > [java] FailedObject: openbook.domain.Inventory-U0205-90 > > > > Any ideas? > > > > Kevin > > >
