Craig
On Aug 25, 2008, at 7:58 AM, Pinaki Poddar wrote:
Hi,A recent commit on OPENJPA-697 upgrades the version column strategy formultiple 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 ofthe version values poses some open questions.Currently, the comparison of v1 and v2 (when v1 and v2 are array of versioncolumn values) is as follows: if (compare(v1[i], v2[i]) = x for all i then return xif (compare(v1[i], v2[i]) = x for some i and 0 for all other i then returnx 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.
Craig L Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
