docs: public int doEdit() throws DBException
      {
          try   {
              int iErrorCode = m_pTable.edit(this);
              if (iErrorCode == DBConstants.NORMAL_RETURN)
                  if (this.lockOnDBTrxType(null, DBConstants.LOCK_TYPE, true))
                      iErrorCode = this.lockCurrentRecord();		// Lock the record using the lock manager
              return iErrorCode;
          } catch (DBException ex)    {
              throw DatabaseException.toDatabaseException(ex);
          }
      }