Tabnine Logo
FlushTransactionListener
Code IndexAdd Tabnine to your IDE (free)

How to use
FlushTransactionListener
in
org.apache.openjpa.event

Best Java code snippets using org.apache.openjpa.event.FlushTransactionListener (Showing top 5 results out of 315)

origin: org.apache.openjpa/openjpa-all

case TransactionEvent.BEFORE_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).beforeFlush(ev);
  break;
case TransactionEvent.AFTER_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).afterFlush(ev);
  break;
case TransactionEvent.BEFORE_COMMIT:
origin: org.apache.openjpa/com.springsource.org.apache.openjpa

case TransactionEvent.BEFORE_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).beforeFlush(ev);
  break;
case TransactionEvent.AFTER_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).afterFlush(ev);
  break;
case TransactionEvent.BEFORE_COMMIT:
origin: org.apache.openjpa/openjpa-kernel

case TransactionEvent.BEFORE_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).beforeFlush(ev);
  break;
case TransactionEvent.AFTER_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).afterFlush(ev);
  break;
case TransactionEvent.BEFORE_COMMIT:
origin: org.apache.openejb.patch/openjpa-kernel

case TransactionEvent.BEFORE_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).beforeFlush(ev);
  break;
case TransactionEvent.AFTER_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).afterFlush(ev);
  break;
case TransactionEvent.BEFORE_COMMIT:
origin: org.apache.openejb.patch/openjpa

case TransactionEvent.BEFORE_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).beforeFlush(ev);
  break;
case TransactionEvent.AFTER_FLUSH:
  if (listener instanceof FlushTransactionListener)
    ((FlushTransactionListener) listener).afterFlush(ev);
  break;
case TransactionEvent.BEFORE_COMMIT:
org.apache.openjpa.eventFlushTransactionListener

Javadoc

Notified on transaction flush.

Most used methods

  • afterFlush
    Notification that a transaction has flushed all object changes.
  • beforeFlush
    Notification that a transaction is about to flush all object changes.

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • getApplicationContext (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top plugins for WebStorm
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