public void putMerged(DbEntity e) {
    CachedDbEntity cachedDbEntity = new CachedDbEntity();
    cachedDbEntity.setEntity(e);
    cachedDbEntity.setEntityState(MERGED);
    cachedDbEntity.determineEntityReferences();
    // no copy required

    putInternal(cachedDbEntity);
  }
public void putMerged ( DbEntity e ) { CachedDbEntity cachedDbEntity = new CachedDbEntity ( ) ; cachedDbEntity . setEntity ( e ) ; cachedDbEntity . setEntityState ( MERGED ) ; cachedDbEntity . determineEntityReferences ( ) ; putInternal ( cachedDbEntity ) ; }
Put a {@link DbEntityState#MERGED} object into the cache.

@param e the object to put into the cache