Hi, 

I have set an Integer field within an object to be used as a check for
optimistic locking. Do I need to 
increment the number manually or will OJB do this for me? At the moment the
version number remains at 
zero which makes me think I may be doing something wrong (even the
OJB_HL_SEQ table's version number 
does not seem to increment)  Am I correct in assuming that this number
should be incrementing 
when ever an object is updated?

Also is the check for an optimistic lock atomic. i.e. Is a select ... for
update 
performed before checking for an optimistic lock condition.

Regards 

Dougall

    

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to