object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java
public void unsetDirty(final Object iPojo) {
    if (iPojo == null)
      return;

    final ODocument record = getRecordByUserObject(iPojo, false);
    if (record == null)
      return;

    ORecordInternal.unsetDirty(record);
  }
public void unsetDirty(final Object iPojo) {
    if (iPojo == null)
      return;

    final ODocument record = getRecordByUserObject(iPojo, false);
    if (record == null)
      return;

    ORecordInternal.unsetDirty(record);
  }
public void unsetDirty ( final Object iPojo ) { if ( iPojo == null ) return ; final ODocument record = getRecordByUserObject ( iPojo , false ) ; if ( record == null ) return ; ORecordInternal . unsetDirty ( record ) ; }
Sets as not dirty a POJO. This is useful when you change some other object and need to tell to the engine to treat this one as
not dirty.

@param iPojo User object
Sets as not dirty a POJO . This is useful when you change some other object and need to tell to the engine to treat this one as not dirty .