|
Hibernate example source code file (JndiInfinispanRegionFactoryTestCase.java)
The Hibernate JndiInfinispanRegionFactoryTestCase.java source codepackage org.hibernate.test.cache.infinispan; import java.util.Properties; import junit.framework.TestCase; import org.hibernate.cfg.SettingsFactory; /** * // TODO: Document this * * @author Galder ZamarreƱo * @since 3.5 */ public class JndiInfinispanRegionFactoryTestCase extends TestCase { public void testConstruction() { Properties p = new Properties(); p.setProperty("hibernate.cache.region.factory_class", "org.hibernate.cache.infinispan.JndiInfinispanRegionFactory"); SettingsFactory.createRegionFactory(p, true); } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate JndiInfinispanRegionFactoryTestCase.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.