Package org.hibernate.cache.spi.entry

Examples of org.hibernate.cache.spi.entry.StructuredCacheEntry


    private final EntityPersister persister;
    private final StructuredCacheEntry structure;

    private StructuredCacheEntryHelper(EntityPersister persister) {
      this.persister = persister;
      this.structure = new StructuredCacheEntry( persister );
    }
View Full Code Here


    // moved up from AbstractEntityPersister ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    this.factory = factory;
    this.cacheAccessStrategy = cacheAccessStrategy;
    isLazyPropertiesCacheable = persistentClass.isLazyPropertiesCacheable();
    this.cacheEntryStructure = factory.getSettings().isStructuredCacheEntriesEnabled() ?
        (CacheEntryStructure) new StructuredCacheEntry(this) :
        (CacheEntryStructure) new UnstructuredCacheEntry();

    this.entityMetamodel = new EntityMetamodel( persistentClass, factory );
    this.entityTuplizer = this.entityMetamodel.getTuplizer();
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
View Full Code Here

        entityBinding.getHierarchyDetails().getCaching() == null ?
            false :
            entityBinding.getHierarchyDetails().getCaching().isCacheLazyProperties();
    this.cacheEntryStructure =
        factory.getSettings().isStructuredCacheEntriesEnabled() ?
            new StructuredCacheEntry(this) :
            new UnstructuredCacheEntry();
    this.entityMetamodel = new EntityMetamodel( entityBinding, factory );
    this.entityTuplizer = this.entityMetamodel.getTuplizer();
    int batch = entityBinding.getBatchSize();
    if ( batch == -1 ) {
View Full Code Here

    this.factory = factory;
    this.cacheAccessStrategy = cacheAccessStrategy;
    this.naturalIdRegionAccessStrategy = naturalIdRegionAccessStrategy;
    isLazyPropertiesCacheable = persistentClass.isLazyPropertiesCacheable();
    this.cacheEntryStructure = factory.getSettings().isStructuredCacheEntriesEnabled() ?
        (CacheEntryStructure) new StructuredCacheEntry(this) :
        (CacheEntryStructure) new UnstructuredCacheEntry();

    this.entityMetamodel = new EntityMetamodel( persistentClass, factory );
    this.entityTuplizer = this.entityMetamodel.getTuplizer();
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
View Full Code Here

        entityBinding.getHierarchyDetails().getCaching() == null ?
            false :
            entityBinding.getHierarchyDetails().getCaching().isCacheLazyProperties();
    this.cacheEntryStructure =
        factory.getSettings().isStructuredCacheEntriesEnabled() ?
            new StructuredCacheEntry(this) :
            new UnstructuredCacheEntry();
    this.entityMetamodel = new EntityMetamodel( entityBinding, factory );
    this.entityTuplizer = this.entityMetamodel.getTuplizer();
    int batch = entityBinding.getBatchSize();
    if ( batch == -1 ) {
View Full Code Here

    private final EntityPersister persister;
    private final StructuredCacheEntry structure;

    private StructuredCacheEntryHelper(EntityPersister persister) {
      this.persister = persister;
      this.structure = new StructuredCacheEntry( persister );
    }
View Full Code Here

    private final EntityPersister persister;
    private final StructuredCacheEntry structure;

    private StructuredCacheEntryHelper(EntityPersister persister) {
      this.persister = persister;
      this.structure = new StructuredCacheEntry( persister );
    }
View Full Code Here

    this.factory = factory;
    this.cacheAccessStrategy = cacheAccessStrategy;
    this.naturalIdRegionAccessStrategy = naturalIdRegionAccessStrategy;
    isLazyPropertiesCacheable = persistentClass.isLazyPropertiesCacheable();
    this.cacheEntryStructure = factory.getSettings().isStructuredCacheEntriesEnabled() ?
        (CacheEntryStructure) new StructuredCacheEntry(this) :
        (CacheEntryStructure) new UnstructuredCacheEntry();

    this.entityMetamodel = new EntityMetamodel( persistentClass, factory );
    this.entityTuplizer = this.entityMetamodel.getTuplizer();
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
View Full Code Here

        entityBinding.getHierarchyDetails().getCaching() == null ?
            false :
            entityBinding.getHierarchyDetails().getCaching().isCacheLazyProperties();
    this.cacheEntryStructure =
        factory.getSettings().isStructuredCacheEntriesEnabled() ?
            new StructuredCacheEntry(this) :
            new UnstructuredCacheEntry();
    this.entityMetamodel = new EntityMetamodel( entityBinding, factory );
    this.entityTuplizer = this.entityMetamodel.getTuplizer();
    int batch = entityBinding.getBatchSize();
    if ( batch == -1 ) {
View Full Code Here

    this.factory = factory;
    this.cacheAccessStrategy = cacheAccessStrategy;
    this.naturalIdRegionAccessStrategy = naturalIdRegionAccessStrategy;
    isLazyPropertiesCacheable = persistentClass.isLazyPropertiesCacheable();
    this.cacheEntryStructure = factory.getSettings().isStructuredCacheEntriesEnabled() ?
        (CacheEntryStructure) new StructuredCacheEntry(this) :
        (CacheEntryStructure) new UnstructuredCacheEntry();

    this.entityMetamodel = new EntityMetamodel( persistentClass, factory );
    this.entityTuplizer = this.entityMetamodel.getTuplizer();
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
View Full Code Here

TOP

Related Classes of org.hibernate.cache.spi.entry.StructuredCacheEntry

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.