. . "If you use optimistic locking, you must catch exceptions at commit time because the exception raised is the indication that there was an optimistic locking problem." . .