Re: Merge Detached Entity Problem

2007-04-30 Thread Jason Hanna
Hi Roger, I don't know anything about your project or environment, but I've been doing some testing with PostgreSQL today and I'm finding it seems to work much better with OpenJPA than MySQL. I've recently come out of the corporate world, and Oracle was our "standard" database platform. I've jus

Re: Merge Detached Entity Problem

2007-04-29 Thread roger.keays
Jason Hanna wrote: > > org.apache.openjpa.persistence.RollbackException: Optimistic locking > errors were detected when flushing to the data store. The following > objects may have been concurrently modified in another transaction: > [com.coincident.green.beans.User-com.coincident.green.beans.U

RE: Merge Detached Entity Problem

2007-04-27 Thread Patrick Linskey
, please immediately return this by email and then delete it. > -Original Message- > From: Jason Hanna [mailto:[EMAIL PROTECTED] > Sent: Friday, April 27, 2007 11:55 AM > To: open-jpa-dev@incubator.apache.org > Subject: Re: Merge Detached Entity Problem > > An upd

Re: Merge Detached Entity Problem

2007-04-27 Thread Jason Hanna
An update - I was not using the @Version annotation in my item definition. After updating my class with the annotation and adding additional database column, my original reported problem disappears. My first read of the documentation led me to believe the @Version annotation was a best practice,