Package org.hibernate.loader.collection

Examples of org.hibernate.loader.collection.BatchingCollectionInitializer


  public void testProperLoaderSetup() {
    AbstractCollectionPersister cp = ( AbstractCollectionPersister )
        sfi().getCollectionPersister( User.class.getName() + ".groups" );
    assertClassAssignability( BatchingCollectionInitializer.class, cp.getInitializer().getClass() );
    BatchingCollectionInitializer initializer = ( BatchingCollectionInitializer ) cp.getInitializer();
    assertEquals( 50, findMaxBatchSize( initializer.getBatchSizes() ) );
  }
View Full Code Here


  public void testProperLoaderSetup() {
    AbstractCollectionPersister cp = ( AbstractCollectionPersister )
        sfi().getCollectionPersister( User.class.getName() + ".groups" );
    assertClassAssignability( BatchingCollectionInitializer.class, cp.getInitializer().getClass() );
    BatchingCollectionInitializer initializer = ( BatchingCollectionInitializer ) cp.getInitializer();
    assertEquals( 50, findMaxBatchSize( initializer.getBatchSizes() ) );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.loader.collection.BatchingCollectionInitializer

Copyright © 2018 www.massapicom. 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.