You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by afsaneh <af...@gmail.com> on 2011/05/02 09:33:37 UTC

Inheritance on @DataCache

Hi there,
I have a question about inheritance on @DataCache annotation. As you know,
this annotation can be used to configure which entity is included in the
cache but I want to know if the entity which it's parent is annotated, will
be cached by inheritance or not?

Thanks for any tips,
Afsaneh 

--
View this message in context: http://openjpa.208410.n2.nabble.com/Inheritance-on-DataCache-tp6322956p6322956.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: Inheritance on @DataCache

Posted by Rick Curtis <cu...@gmail.com>.
Afsaneh -

A (very) quick scan of the 1.2.x code leads me to believe that the
@DataCache annotation is inherited by children. Let us know if that isn't
the case.

Thanks,
Rick

On Mon, May 2, 2011 at 2:33 AM, afsaneh <af...@gmail.com> wrote:

> Hi there,
> I have a question about inheritance on @DataCache annotation. As you know,
> this annotation can be used to configure which entity is included in the
> cache but I want to know if the entity which it's parent is annotated, will
> be cached by inheritance or not?
>
> Thanks for any tips,
> Afsaneh
>