Tabnine Logo
BatchWritingMechanism.executeBatchedStatements
Code IndexAdd Tabnine to your IDE (free)

How to use
executeBatchedStatements
method
in
org.eclipse.persistence.internal.databaseaccess.BatchWritingMechanism

Best Java code snippets using org.eclipse.persistence.internal.databaseaccess.BatchWritingMechanism.executeBatchedStatements (Showing top 6 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

/**
 * This method will be called after a series of writes have been issued to
 * mark where a particular set of writes has completed.  It will be called
 * from commitTransaction and may be called from writeChanges.   Its main
 * purpose is to ensure that the batched statements have been executed
 */
public void writesCompleted(AbstractSession session) {
  if (isConnected && isInBatchWritingMode(session)) {
    getActiveBatchWritingMechanism(session).executeBatchedStatements(session);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  /**
   * This method will be called after a series of writes have been issued to
   * mark where a particular set of writes has completed.  It will be called
   * from commitTransaction and may be called from writeChanges.   Its main
   * purpose is to ensure that the batched statements have been executed
   */
  public void writesCompleted(AbstractSession session) {
    if (isInBatchWritingMode(session)) {
      getActiveBatchWritingMechanism().executeBatchedStatements(session);
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

  /**
   * This method will be called after a series of writes have been issued to
   * mark where a particular set of writes has completed.  It will be called
   * from commitTransaction and may be called from writeChanges.   Its main
   * purpose is to ensure that the batched statements have been executed
   */
  @Override
  public void writesCompleted(AbstractSession session) {
    if (isConnected && isInBatchWritingMode(session)) {
      getActiveBatchWritingMechanism(session).executeBatchedStatements(session);
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

getActiveBatchWritingMechanism(session).executeBatchedStatements(session);
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

getActiveBatchWritingMechanism().executeBatchedStatements(session);
origin: org.eclipse.persistence/org.eclipse.persistence.core

getActiveBatchWritingMechanism(session).executeBatchedStatements(session);
org.eclipse.persistence.internal.databaseaccessBatchWritingMechanismexecuteBatchedStatements

Javadoc

INTERNAL: This method is used by the DatabaseAccessor to clear the batched statements in the case that a non batchable statement is being execute

Popular methods of BatchWritingMechanism

  • appendCall
    INTERNAL: This method is called by the DatabaseAccessor to add this statement to the list of stateme
  • clear
    INTERNAL: This method is used to clear the batched statements without the need to execute the statem
  • clone
    INTERNAL: The mechanism will be cloned to be set into each accessor.
  • initialize
    INTERNAL: Allow initialization with the session after login.
  • setAccessor
    INTERNAL: Sets the accessor that this mechanism will use

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Option (scala)
  • Top plugins for Android Studio
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