Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] version column being updated on an UPDATE JPQL query?

A matter of curiosity more than anything:

The 2.0 specification says in section 4.10

Bulk update maps directly to a database update operation, bypassing optimistic locking checks. Portable applications must manually update the value of the version column, if desired, and/or manually validate the value of the version column. 

Does that permit version column updating?  It looks to my eyes that this paragraph does indeed permit it, although it's a little dodgy.  EclipseLink does in fact update version columns during UPDATE operations; is this on purpose?

Best,
Laird

--
http://about.me/lairdnelson

Back to the top