Hi I think build time enhancement solved it.
I'm getting a different error now org.apache.openjpa.persistence.EntityExistsException: An object of type "za.co.rmb.rac.riskRatingEngineWeb.entities.Variable" with oid "0" already exists in this context; another cannot be persisted. But at least the optimistic locking thing has taken a hike Unfortunately I have a teambuilding thing on today... so I can't fix this thing any further. Thanks a lot for the help Daryl Regards Hannes -- View this message in context: http://n2.nabble.com/Re-SOLVED-Re-Locking-Exception-after-Persisting-new-entity-tp3992651p3997874.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
