Package org.hibernate.testing.junit.functional

Examples of org.hibernate.testing.junit.functional.ExecutionEnvironment.initialize()


   public void testRedeployment() throws Exception {
      addEntityCheckCache();
      getEnvironment().getSessionFactory().close();
      bindToJndi = false;
      ExecutionEnvironment environment = new ExecutionEnvironment( this );
      environment.initialize();
      setEnvironment(environment);
      addEntityCheckCache();
      JndiInfinispanRegionFactory regionFactory = (JndiInfinispanRegionFactory) ((SessionFactoryImplementor)
            environment.getSessionFactory()).getSettings().getRegionFactory();
      Cache cache = regionFactory.getCacheManager().getCache("org.hibernate.test.cache.infinispan.functional.Item");
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.