congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
BatchWritingMechanism.clear
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.haulmont.thirdparty/eclipselink

/**
 * Rollback a transaction on the database. This means toggling the auto-commit option.
 */
public void rollbackTransaction(AbstractSession session) throws DatabaseException {
  getActiveBatchWritingMechanism(session).clear();
  super.rollbackTransaction(session);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Rollback a transaction on the database. This means toggling the auto-commit option.
 */
@Override
public void rollbackTransaction(AbstractSession session) throws DatabaseException {
  getActiveBatchWritingMechanism(session).clear();
  super.rollbackTransaction(session);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Rollback a transaction on the database. This means toggling the auto-commit option.
 */
public void rollbackTransaction(AbstractSession session) throws DatabaseException {
  getActiveBatchWritingMechanism().clear();
  super.rollbackTransaction(session);
}
org.eclipse.persistence.internal.databaseaccessBatchWritingMechanismclear

Javadoc

INTERNAL: This method is used to clear the batched statements without the need to execute the statements first This is used in the case of rollback.

Popular methods of BatchWritingMechanism

  • appendCall
    INTERNAL: This method is called by the DatabaseAccessor to add this statement to the list of stateme
  • executeBatchedStatements
    INTERNAL: This method is used by the DatabaseAccessor to clear the batched statements in the case th
  • 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
  • getExternalFilesDir (Context)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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