Package org.hibernate.annotations
Annotation Type QueryCacheLayout
-
@Target({TYPE,FIELD,METHOD}) @Retention(RUNTIME) @Incubating public @interface QueryCacheLayout
Configures the layout for the entity or collection data in a query cache.- Since:
- 6.5
- See Also:
CacheLayout
,Cacheable
,Cache
,CacheSettings.CACHE_REGION_FACTORY
,CacheSettings.USE_SECOND_LEVEL_CACHE
,CacheSettings.USE_QUERY_CACHE
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description CacheLayout
layout
The layout of the data for an entity or collection in the query cache.
-
-
-
Element Detail
-
layout
CacheLayout layout
The layout of the data for an entity or collection in the query cache.- Default:
- org.hibernate.annotations.CacheLayout.AUTO
-
-