congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Github Copilot alternatives
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