Examples of postInitialize()


Examples of org.hibernate.engine.spi.CollectionEntry.postInitialize()

    CollectionEntry ce = getLoadContext().getPersistenceContext().getCollectionEntry( lce.getCollection() );
    if ( ce == null ) {
      ce = getLoadContext().getPersistenceContext().addInitializedCollection( persister, lce.getCollection(), lce.getKey() );
    }
    else {
      ce.postInitialize( lce.getCollection() );
//      if (ce.getLoadedPersister().getBatchSize() > 1) { // not the best place for doing this, moved into ce.postInitialize
//        getLoadContext().getPersistenceContext().getBatchFetchQueue().removeBatchLoadableCollection(ce);
//      }
    }
View Full Code Here

Examples of org.hibernate.engine.spi.CollectionEntry.postInitialize()

  @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;
  }

  @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.