Tabnine Logo
CopyPolicy.buildWorkingCopyClone
Code IndexAdd Tabnine to your IDE (free)

How to use
buildWorkingCopyClone
method
in
org.eclipse.persistence.descriptors.copying.CopyPolicy

Best Java code snippets using org.eclipse.persistence.descriptors.copying.CopyPolicy.buildWorkingCopyClone (Showing top 3 results out of 315)

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Returns the clone of the specified object. This is called only from unit of work.
 * The domainObject sent as parameter is always a copy from the parent of unit of work.
 * bug 2612602 make a call to build a working clone.  This will in turn call the copy policy
 * to make a working clone.  This allows for lighter and heavier clones to
 * be created based on their use.
 * this allows the stub of the clone to be registered before cloning its parts.
 */
public Object instantiateWorkingCopyClone(Object domainObject, AbstractSession session) {
  return this.descriptor.getCopyPolicy().buildWorkingCopyClone(domainObject, session);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Returns the clone of the specified object. This is called only from unit of work.
 * The domainObject sent as parameter is always a copy from the parent of unit of work.
 * bug 2612602 make a call to build a working clone.  This will in turn call the copy policy
 * to make a working clone.  This allows for lighter and heavier clones to
 * be created based on their use.
 * this allows the stub of the clone to be registered before cloning its parts.
 */
public Object instantiateWorkingCopyClone(Object domainObject, AbstractSession session) {
  return this.descriptor.getCopyPolicy().buildWorkingCopyClone(domainObject, session);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Returns the clone of the specified object. This is called only from unit of work.
 * The domainObject sent as parameter is always a copy from the parent of unit of work.
 * bug 2612602 make a call to build a working clone.  This will in turn call the copy policy
 * to make a working clone.  This allows for lighter and heavier clones to
 * be created based on their use.
 * this allows the stub of the clone to be registered before cloning its parts.
 */
public Object instantiateWorkingCopyClone(Object domainObject, AbstractSession session) {
  return this.descriptor.getCopyPolicy().buildWorkingCopyClone(domainObject, session);
}
org.eclipse.persistence.descriptors.copyingCopyPolicybuildWorkingCopyClone

Javadoc

Return a shallow clone of the object for usage with the unit of work working copy.

Popular methods of CopyPolicy

  • buildClone
    Return a shallow clone of the object for usage with object copying, or unit of work backup cloning.
  • buildWorkingCopyCloneFromRow
    Return an instance with the primary key set from the row, used for building a working copy during a
  • buildsNewInstance
    Return if this copy policy creates a new instance, vs a clone.
  • clone
    Clone the CopyPolicy.
  • initialize
    Allow for any initialization or validation required.
  • setDescriptor
    Set the descriptor.
  • buildWorkingCopyCloneFromPrimaryKeyObject
    Return an instance with the primary key, used for building a working copy during a unit of work tran

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • runOnUiThread (Activity)
  • setContentView (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JPanel (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now