public void update(Versionable target, Versionable source) {
        target.setDirty(source.getDirty());
        target.setMajorVersion(source.getMajorVersion());
        target.setMidVersion(source.getMidVersion());
        target.setMinorVersion(source.getMinorVersion());
        target.setModifierId(source.getModifierId());
        target.setReason(source.getReason());
        target.setModificationTime(source.getModificationTime());
        target.setHistoryList(source.getHistoryList());
        try {
            target.updateHistory();
        }
        catch (Exception ex) {
            LOG.log(Level.SEVERE, ex.getLocalizedMessage(), ex);
        }
    }
public void update(Versionable target, Versionable source) {
        target.setDirty(source.getDirty());
        target.setMajorVersion(source.getMajorVersion());
        target.setMidVersion(source.getMidVersion());
        target.setMinorVersion(source.getMinorVersion());
        target.setModifierId(source.getModifierId());
        target.setReason(source.getReason());
        target.setModificationTime(source.getModificationTime());
        target.setHistoryList(source.getHistoryList());
        try {
            target.updateHistory();
        }
        catch (Exception ex) {
            LOG.log(Level.SEVERE, ex.getLocalizedMessage(), ex);
        }
    }
public void update ( Versionable target , Versionable source ) { target . setDirty ( source . getDirty ( ) ) ; target . setMajorVersion ( source . getMajorVersion ( ) ) ; target . setMidVersion ( source . getMidVersion ( ) ) ; target . setMinorVersion ( source . getMinorVersion ( ) ) ; target . setModifierId ( source . getModifierId ( ) ) ; target . setReason ( source . getReason ( ) ) ; target . setModificationTime ( source . getModificationTime ( ) ) ; target . setHistoryList ( source . getHistoryList ( ) ) ; try { target . updateHistory ( ) ; } catch ( Exception ex ) { LOG . log ( Level . SEVERE , ex . getLocalizedMessage ( ) , ex ) ; } }
Increase minor is done by default when updating a record.

@param target Target of the update.
@param source Source of the update
Increase minor is done by default when updating a record .