Tabnine Logo
ObjectManager.clearDirty
Code IndexAdd Tabnine to your IDE (free)

How to use
clearDirty
method
in
org.datanucleus.ObjectManager

Best Java code snippets using org.datanucleus.ObjectManager.clearDirty (Showing top 4 results out of 315)

origin: org.datanucleus/datanucleus-java5

/**
 * Clear the persistence context, causing all managed entities to become detached. 
 * Changes made to entities that have not been flushed to the database will not be persisted.
 */
public void clear()
{
  assertIsOpen();
  om.detachAll();
  om.clearDirty();
  om.evictAllObjects();
}
origin: org.datanucleus/datanucleus-jpa

/**
 * Clear the persistence context, causing all managed entities to become detached. 
 * Changes made to entities that have not been flushed to the database will not be persisted.
 */
public void clear()
{
  assertIsOpen();
  om.detachAll();
  om.clearDirty();
  om.evictAllObjects();
}
origin: forcedotcom/java-sdk

if (sm != null) {
  if (sm instanceof ForceJPAStateManagerImpl) {
    om.clearDirty(sm);
    om.removeStateManager(sm);
    pc.jdoReplaceStateManager(null);
origin: com.force.sdk/force-jpa

if (sm != null) {
  if (sm instanceof ForceJPAStateManagerImpl) {
    om.clearDirty(sm);
    om.removeStateManager(sm);
    pc.jdoReplaceStateManager(null);
org.datanucleusObjectManagerclearDirty

Popular methods of ObjectManager

  • findStateManager
  • getApiAdapter
  • getClassLoaderResolver
  • getMetaDataManager
  • getOMFContext
  • getTransaction
  • isClosed
  • assertClassPersistable
  • deleteObject
  • detachAll
  • evictAllObjects
  • exists
  • evictAllObjects,
  • exists,
  • findObject,
  • flush,
  • getExecutionContext,
  • getFetchPlan,
  • newObjectId,
  • persistObject,
  • refreshObject

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JCheckBox (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Top Vim plugins
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