Class Caching

java.lang.Object
org.hibernate.boot.model.Caching

@Deprecated(since="6") public class Caching extends Object
Deprecated.
will move to org.hibernate.boot.model.source.spi, where its only uses are
Models the caching options for an entity, natural id, or collection.
  • Constructor Details

    • Caching

      public Caching(TruthValue requested)
      Deprecated.
    • Caching

      public Caching(String region, AccessType accessType, boolean cacheLazyProperties)
      Deprecated.
    • Caching

      public Caching(String region, AccessType accessType, boolean cacheLazyProperties, TruthValue requested)
      Deprecated.
  • Method Details

    • getRegion

      public String getRegion()
      Deprecated.
    • setRegion

      public void setRegion(String region)
      Deprecated.
    • getAccessType

      public AccessType getAccessType()
      Deprecated.
    • setAccessType

      public void setAccessType(AccessType accessType)
      Deprecated.
    • isCacheLazyProperties

      public boolean isCacheLazyProperties()
      Deprecated.
    • setCacheLazyProperties

      public void setCacheLazyProperties(boolean cacheLazyProperties)
      Deprecated.
    • getRequested

      public TruthValue getRequested()
      Deprecated.
    • setRequested

      public void setRequested(TruthValue requested)
      Deprecated.
    • overlay

      public void overlay(CacheRegionDefinition overrides)
      Deprecated.
    • overlay

      public void overlay(Caching overrides)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object