[hibernate-dev] Shared-cache-mode documentation description for Hibernate 4.1.x
Steve Ebersole
steve at hibernate.org
Tue May 1 20:17:23 EDT 2012
I think I just did not update the HEM docs when I saw it was wrong and
just corrected it in dev guide thinking the HEM guide would go away.
On Tue 01 May 2012 12:27:27 PM CDT, Scott Marlow wrote:
> In http://docs.jboss.org/hibernate/core/4.0/hem/en-US/html_single/, I
> see the following description of shared-cache-mode. I think the default
> is described incorrectly. I'll create a jira for this but wanted to see
> if others agree with me.
>
> "
> shared-cache-mode
>
> By default, entities are elected for second-level cache if annotated
> with @Cacheable. You can however:
>
> ALL: force caching for all entities
>
> NONE: disable caching for all entities (useful to take second-level
> cache out of the equation)
>
> ENABLE_SELECTIVE (default): enable caching when explicitly marked
>
> DISABLE_SELECTIVE: enable caching unless explicitly marked as
> @Cacheable(false) (not recommended)
>
> See Hibernate Annotation's documentation for more details.
> "
>
> Shared-cache-mode looks correct to me in the Hibernate developer guide
> (see section 6.2.1. Configuring your cache providers in
> http://docs.jboss.org/hibernate/core/4.0/devguide/en-US/html_single/).
>
> Scott
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
steve at hibernate.org
http://hibernate.org
More information about the hibernate-dev
mailing list