/** * SyncRecords - Synchronize the records to the same row. * @return an error code. */ public int syncRecords() { // Read a valid record if ((this.getOwner().getOpenMode() & DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE) == DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE) return DBConstants.NORMAL_RETURN; // Don't need to resync if I'm doing a write and refresh. m_recordToSync.close(); return DBConstants.NORMAL_RETURN; } }
/** * SyncRecords - Synchronize the records to the same row. * @return an error code. */ public int syncRecords() { // Read a valid record if ((this.getOwner().getOpenMode() & DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE) == DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE) return DBConstants.NORMAL_RETURN; // Don't need to resync if I'm doing a write and refresh. m_recordToSync.close(); return DBConstants.NORMAL_RETURN; } }
/** * SyncRecords - Synchronize the records to the same row. * @return an error code. */ public int syncRecords() { // Read a valid record if ((this.getOwner().getOpenMode() & DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE) == DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE) return DBConstants.NORMAL_RETURN; // Don't need to resync if I'm doing a write and refresh. m_recordToSync.close(); return DBConstants.NORMAL_RETURN; } }