Hi,
  A recent commit on OPENJPA-697 upgrades the version column strategy for
multiple numeric columns.
A simple test case is available in the commit set as demonstration of usage.
When a version value is represented as multiple column values, comparison of
the version values poses some open questions. 
Currently, the comparison of v1 and v2 (when v1 and v2 are array of version
column values) is as follows:
  if (compare(v1[i], v2[i]) = x for all i then return x
  if (compare(v1[i], v2[i]) = x for some i and 0 for all other i then return
x
  otherwise return 1.

A bit heuristic but am ready to listen to other ideas.

-- 
View this message in context: 
http://n2.nabble.com/%40VersionColumns-usage-tp736463p781659.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to