Tabnine Logo
CollectionEntry.preFlush
Code IndexAdd Tabnine to your IDE (free)

How to use
preFlush
method
in
org.hibernate.engine.spi.CollectionEntry

Best Java code snippets using org.hibernate.engine.spi.CollectionEntry.preFlush (Showing top 4 results out of 315)

origin: hibernate/hibernate-orm

/**
 * Initialize the flags of the CollectionEntry, including the
 * dirty check.
 */
private void prepareCollectionFlushes(PersistenceContext persistenceContext) throws HibernateException {
  // Initialize dirty flags for arrays + collections with composite elements
  // and reset reached, doupdate, etc.
  LOG.debug( "Dirty checking collections" );
  for ( Map.Entry<PersistentCollection,CollectionEntry> entry :
      IdentityMap.concurrentEntries( (Map<PersistentCollection,CollectionEntry>) persistenceContext.getCollectionEntries() )) {
    entry.getValue().preFlush( entry.getKey() );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

/**
 * Initialize the flags of the CollectionEntry, including the
 * dirty check.
 */
private void prepareCollectionFlushes(PersistenceContext persistenceContext) throws HibernateException {
  // Initialize dirty flags for arrays + collections with composite elements
  // and reset reached, doupdate, etc.
  LOG.debug( "Dirty checking collections" );
  for ( Map.Entry<PersistentCollection,CollectionEntry> entry :
      IdentityMap.concurrentEntries( (Map<PersistentCollection,CollectionEntry>) persistenceContext.getCollectionEntries() )) {
    entry.getValue().preFlush( entry.getKey() );
  }
}
origin: org.hibernate.orm/hibernate-core

/**
 * Initialize the flags of the CollectionEntry, including the
 * dirty check.
 */
private void prepareCollectionFlushes(PersistenceContext persistenceContext) throws HibernateException {
  // Initialize dirty flags for arrays + collections with composite elements
  // and reset reached, doupdate, etc.
  LOG.debug( "Dirty checking collections" );
  for ( Map.Entry<PersistentCollection,CollectionEntry> entry :
      IdentityMap.concurrentEntries( (Map<PersistentCollection,CollectionEntry>) persistenceContext.getCollectionEntries() )) {
    entry.getValue().preFlush( entry.getKey() );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

/**
 * Initialize the flags of the CollectionEntry, including the
 * dirty check.
 */
private void prepareCollectionFlushes(PersistenceContext persistenceContext) throws HibernateException {
  // Initialize dirty flags for arrays + collections with composite elements
  // and reset reached, doupdate, etc.
  LOG.debug( "Dirty checking collections" );
  for ( Map.Entry<PersistentCollection,CollectionEntry> entry :
      IdentityMap.concurrentEntries( (Map<PersistentCollection,CollectionEntry>) persistenceContext.getCollectionEntries() )) {
    entry.getValue().preFlush( entry.getKey() );
  }
}
org.hibernate.engine.spiCollectionEntrypreFlush

Popular methods of CollectionEntry

  • getLoadedPersister
    This is only available late during the flush cycle
  • getSnapshot
  • getLoadedKey
  • getOrphans
    Get the collection orphans (entities which were removed from the collection)
  • <init>
    For newly wrapped collections, or dereferenced collection wrappers
  • afterAction
    Called after execution of an action
  • afterDeserialize
  • deserialize
    Custom deserialization routine used during deserialization of a Session/PersistenceContext for incre
  • dirty
    Determine if the collection is "really" dirty, by checking dirtiness of the collection elements, if
  • getCurrentKey
    This is only available late during the flush cycle
  • getCurrentPersister
  • getRole
  • getCurrentPersister,
  • getRole,
  • isDorecreate,
  • isDoremove,
  • isDoupdate,
  • isIgnore,
  • isProcessed,
  • isReached,
  • isSnapshotEmpty,
  • postFlush

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top PhpStorm 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