Class JpaCacheSupport

java.lang.Object
io.jmix.eclipselink.impl.JpaCacheSupport

@Component("eclipselink_OrmCacheSupport") public class JpaCacheSupport extends Object
  • Field Details

    • metadata

      @Autowired protected Metadata metadata
    • storeAwareLocator

      @Autowired protected StoreAwareLocator storeAwareLocator
    • entityStates

      @Autowired protected EntityStates entityStates
    • metadataTools

      @Autowired protected MetadataTools metadataTools
  • Constructor Details

    • JpaCacheSupport

      public JpaCacheSupport()
  • Method Details

    • evictMasterEntity

      public void evictMasterEntity(Object entity, @Nullable AttributeChanges changes)
      Evicts an entity from cache if it has the given entity as an element of collection.
      Parameters:
      entity - which is being updated and can potentially be an element of a collection
      changes - changes in the entity. Null when creating and removing the entity.