Package com.github.jmkgreen.morphia.mapping.cache

Examples of com.github.jmkgreen.morphia.mapping.cache.DefaultEntityCacheFactory


     * using it!
     * @throws Exception
     */
  @Test
  public void SingleLookupThanksToEntityCache() throws Exception {
        ds.getMapper().setEntityCacheFactory(new DefaultEntityCacheFactory());
    A.loadCount = 0;
    A a = new A();
    HoldsMultipleA holder = new HoldsMultipleA();
    holder.a1 = a;
    holder.a2 = a;
View Full Code Here

TOP

Related Classes of com.github.jmkgreen.morphia.mapping.cache.DefaultEntityCacheFactory

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.