@Kelvin - I'm working on setting up a unit test and I'll get back with you.

@Matthew

> Shouldn't we be able to update the @Version field in a preupdate method?
*Should* a user be able to? Perhaps... unfortunately the spec (3.4.2)
disagrees. -- "An entity may access the state of its version field or
property or export a method for use by the application to access the
version, but must not modify the version value." One could contrive a
scenario where you'd want to manually modify the version field, but AFIK
OpenJPA wasn't written to support that behavior.

Thanks,
Rick

Reply via email to