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

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

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

origin: hibernate/hibernate-orm

@Override
public CollectionEntry addInitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
    throws HibernateException {
  final CollectionEntry ce = new CollectionEntry( collection, persister, id, flushing );
  ce.postInitialize( collection );
  addCollection( collection, ce, id );
  return ce;
}
origin: hibernate/hibernate-orm

ce.postInitialize( lce.getCollection() );
origin: hibernate/hibernate-orm

persistenceContext.getCollectionEntry( collection ).postInitialize( collection );
origin: org.hibernate.orm/hibernate-core

@Override
public CollectionEntry addInitializedCollection(PersistentCollectionDescriptor descriptor, PersistentCollection collection, Object id)
    throws HibernateException {
  final CollectionEntry ce = new CollectionEntry( collection, descriptor, id, flushing );
  ce.postInitialize( collection );
  addCollection( collection, ce, id );
  return ce;
}
origin: org.hibernate/com.springsource.org.hibernate.core

/**
 * add a collection we just pulled out of the cache (does not need initializing)
 */
@Override
public CollectionEntry addInitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
throws HibernateException {
  CollectionEntry ce = new CollectionEntry(collection, persister, id, flushing);
  ce.postInitialize(collection);
  addCollection(collection, ce, id);
  return ce;
}
origin: org.hibernate/com.springsource.org.hibernate

/**
 * add a collection we just pulled out of the cache (does not need initializing)
 */
@Override
public CollectionEntry addInitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
throws HibernateException {
  CollectionEntry ce = new CollectionEntry(collection, persister, id, flushing);
  ce.postInitialize(collection);
  addCollection(collection, ce, id);
  return ce;
}
origin: org.hibernate.orm/hibernate-core

  public void finishLoading(ExecutionContext executionContext) {
    collectionInstance.endRead();

    final SharedSessionContractImplementor session = executionContext.getSession();
    final PersistenceContext persistenceContext = session.getPersistenceContext();

    CollectionEntry collectionEntry = persistenceContext.getCollectionEntry( collectionInstance );

    if ( collectionEntry == null ) {
      collectionEntry = persistenceContext.addInitializedCollection(
          getCollectionDescriptor(),
          getCollectionInstance(),
          getKey()
      );
    }
    else {
      collectionEntry.postInitialize( collectionInstance );
    }

    // todo (6.0) : there is other logic still needing to be implemented here.  caching, etc
    // 		see org.hibernate.engine.loading.internal.CollectionLoadContext#endLoadingCollection in 5.x
  }
}
origin: org.hibernate/com.springsource.org.hibernate

persistenceContext.getCollectionEntry(collection).postInitialize(collection);
origin: org.hibernate/com.springsource.org.hibernate.core

persistenceContext.getCollectionEntry(collection).postInitialize(collection);
origin: org.hibernate.orm/hibernate-core

persistenceContext.getCollectionEntry( collection ).postInitialize( collection );
origin: org.hibernate/com.springsource.org.hibernate

ce.postInitialize( lce.getCollection() );
origin: org.hibernate/com.springsource.org.hibernate.core

ce.postInitialize( lce.getCollection() );
org.hibernate.engine.spiCollectionEntrypostInitialize

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

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Top 17 PhpStorm Plugins
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