Package oracle.toplink.sessions

Examples of oracle.toplink.sessions.ObjectCopyingPolicy


  //-------------------------------------------------------------------------
  // Convenience methods for copying and refreshing objects
  //-------------------------------------------------------------------------

  public Object copy(Object entity) throws DataAccessException {
    ObjectCopyingPolicy copyingPolicy = new ObjectCopyingPolicy();
    copyingPolicy.cascadeAllParts();
    copyingPolicy.setShouldResetPrimaryKey(false);
    return copy(entity, copyingPolicy);
  }
View Full Code Here


      }
    });
  }

  public List copyAll(Collection entities) throws DataAccessException {
    ObjectCopyingPolicy copyingPolicy = new ObjectCopyingPolicy();
    copyingPolicy.cascadeAllParts();
    copyingPolicy.setShouldResetPrimaryKey(false);
    return copyAll(entities, copyingPolicy);
  }
View Full Code Here

  //-------------------------------------------------------------------------
  // Convenience methods for copying and refreshing objects
  //-------------------------------------------------------------------------

  public Object copy(Object entity) throws DataAccessException {
    ObjectCopyingPolicy copyingPolicy = new ObjectCopyingPolicy();
    copyingPolicy.cascadeAllParts();
    copyingPolicy.setShouldResetPrimaryKey(false);
    return copy(entity, copyingPolicy);
  }
View Full Code Here

      }
    });
  }

  public List copyAll(Collection entities) throws DataAccessException {
    ObjectCopyingPolicy copyingPolicy = new ObjectCopyingPolicy();
    copyingPolicy.cascadeAllParts();
    copyingPolicy.setShouldResetPrimaryKey(false);
    return copyAll(entities, copyingPolicy);
  }
View Full Code Here

TOP

Related Classes of oracle.toplink.sessions.ObjectCopyingPolicy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.