Examples of JaxbCacheElement


Examples of org.hibernate.internal.jaxb.mapping.hbm.JaxbCacheElement

    return pluralAttributeElement.getCheck();
  }

  @Override
  public Caching getCaching() {
    final JaxbCacheElement cache = pluralAttributeElement.getCache();
    if ( cache == null ) {
      return null;
    }
    final String region = cache.getRegion() != null
        ? cache.getRegion()
        : StringHelper.qualify( container().getPath(), getName() );
    final AccessType accessType = Enum.valueOf( AccessType.class, cache.getUsage() );
    final boolean cacheLazyProps = !"non-lazy".equals( cache.getInclude() );
    return new Caching( region, accessType, cacheLazyProps );
  }
View Full Code Here

Examples of org.hibernate.internal.jaxb.mapping.hbm.JaxbCacheElement

    }
  }

  @Override
  public Caching getCaching() {
    final JaxbCacheElement cache = entityElement().getCache();
    if ( cache == null ) {
      return null;
    }
    final String region = cache.getRegion() != null ? cache.getRegion() : getEntityName();
    final AccessType accessType = Enum.valueOf( AccessType.class, cache.getUsage() );
    final boolean cacheLazyProps = !"non-lazy".equals( cache.getInclude() );
    return new Caching( region, accessType, cacheLazyProps );
  }
View Full Code Here

Examples of org.hibernate.internal.jaxb.mapping.hbm.JaxbCacheElement

    return pluralAttributeElement.getCheck();
  }

  @Override
  public Caching getCaching() {
    final JaxbCacheElement cache = pluralAttributeElement.getCache();
    if ( cache == null ) {
      return null;
    }
    final String region = cache.getRegion() != null
        ? cache.getRegion()
        : StringHelper.qualify( container().getPath(), getName() );
    final AccessType accessType = Enum.valueOf( AccessType.class, cache.getUsage() );
    final boolean cacheLazyProps = !"non-lazy".equals( cache.getInclude() );
    return new Caching( region, accessType, cacheLazyProps );
  }
View Full Code Here

Examples of org.hibernate.internal.jaxb.mapping.hbm.JaxbCacheElement

    }
  }

  @Override
  public Caching getCaching() {
    final JaxbCacheElement cache = entityElement().getCache();
    if ( cache == null ) {
      return null;
    }
    final String region = cache.getRegion() != null ? cache.getRegion() : getEntityName();
    final AccessType accessType = Enum.valueOf( AccessType.class, cache.getUsage() );
    final boolean cacheLazyProps = !"non-lazy".equals( cache.getInclude() );
    return new Caching( region, accessType, cacheLazyProps );
  }
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.