Hi Tim,

On Jun 2, 2008, at 7:31 AM, Tim Holloway wrote:

I've always found it difficult to trace back to where merges caused
stale copies of an object to appear, resulting in Optimistic Locking
Exceptions.

Q: Would it be reasonable to add some functionality to the
StateComparisonVersionStrategy such that if a conflict is encountered
that the offending field and its conflicting values be displayed, either
in the Exception itself or in the log? It looks like
ArrayStateImage.sameVersion would need to reflect back the failing
column index.

Sounds like a good idea to me. Can you write a) a patch; b) a test case; c) a JIRA?

Craig



Craig 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!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to