Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/UserGuide/JPA/2.4/a cacheindexes"
< EclipseLink | UserGuide | JPA
m |
|||
Line 5: | Line 5: | ||
|category=JPA | |category=JPA | ||
|release=2.4.x | |release=2.4.x | ||
− | |title= }} | + | |title=TLJPA }} |
<span class="metaname"> </span> | <span class="metaname"> </span> | ||
{| class="simple oac_no_warn" width="100%" | {| class="simple oac_no_warn" width="100%" | ||
| align="left" valign="top" | | | align="left" valign="top" | | ||
− | | width=" | + | | width="185" align="right" valign="bottom" | |
{| class="simple oac_no_warn" width="100%" | {| class="simple oac_no_warn" width="100%" | ||
| | | | ||
| align="center" valign="top" | | | align="center" valign="top" | | ||
− | [http://www.google.com/cse/home?cx=016171230611334810008:y5kxq4rqd8s&hl=en Search] | + | [[Image:Elug_Magnifier.png|Search]][http://www.google.com/cse/home?cx=016171230611334810008:y5kxq4rqd8s&hl=en Search] |
| align="center" valign="top" | | | align="center" valign="top" | | ||
− | [[EclipseLink/UserGuide/JPA/toc| Contents]] | + | [[Image:Elug_guide_icon.png|Contents]][[EclipseLink/UserGuide/JPA/2.4/toc| Contents]] |
|} | |} | ||
|} | |} | ||
Line 22: | Line 22: | ||
---- | ---- | ||
− | {| width=" | + | {| width="165" |
| align="center" | | | align="center" | | ||
− | [[EclipseLink/UserGuide/JPA/a_cacheindex|<span class=" | + | [[EclipseLink/UserGuide/JPA/2.4/a_cacheindex| Previous ]]<span class="previouslink">[[Image:Elug_previous_icon.png|Previous]]</span> |
| align="center" | | | align="center" | | ||
− | [[EclipseLink/UserGuide/JPA/a_cacheinterceptor|Next | + | [[EclipseLink/UserGuide/JPA/2.4/a_cacheinterceptor| Next ]][[Image:Elug_next_icon.png|Next]] |
| | | | ||
|} | |} | ||
+ | |||
+ | [[Image:Elug_draft_icon.png|Warning]]Beta Draft: 2012-06-18 | ||
<span id="BABIJDDB"></span> | <span id="BABIJDDB"></span> | ||
Line 38: | Line 40: | ||
Use <code>@CacheIndexes</code> to define a set of <code>@CacheIndex</code> on an entity. | Use <code>@CacheIndexes</code> to define a set of <code>@CacheIndex</code> on an entity. | ||
− | <span id=" | + | <span id="sthref45"></span> |
''' ''' | ''' ''' | ||
Line 44: | Line 46: | ||
===Annotation Elements=== | ===Annotation Elements=== | ||
− | [[#CIHJDAHF|Table 2- | + | [[#CIHJDAHF|Table 2-6]] describes this annotation's elements. |
− | <span id=" | + | <span id="sthref46"></span><span id="CIHJDAHF"></span> |
− | '''''Table 2- | + | '''''Table 2-6 @CacheIndexes Annotation Elements''''' |
{| class="HRuleFormalWide" dir="ltr" title="@CacheIndexes Annotation Elements" summary="This table describes the list of attributes for this annotation." width="100%" border="1" frame="hsides" rules="rows" cellpadding="3" frame="hsides" rules="rows" | {| class="HRuleFormalWide" dir="ltr" title="@CacheIndexes Annotation Elements" summary="This table describes the list of attributes for this annotation." width="100%" border="1" frame="hsides" rules="rows" cellpadding="3" frame="hsides" rules="rows" | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
− | ! id="r1c1- | + | ! id="r1c1-t9" align="left" valign="bottom" | '''Annotation Element''' |
− | ! id="r1c2- | + | ! id="r1c2-t9" align="left" valign="bottom" | '''Description''' |
− | ! id="r1c3- | + | ! id="r1c3-t9" align="left" valign="bottom" | '''Default''' |
|- align="left" valign="top" | |- align="left" valign="top" | ||
− | | id="r2c1- | + | | id="r2c1-t9" headers="r1c1-t9" align="left" | |
<code>CacheIndex[]</code> | <code>CacheIndex[]</code> | ||
− | | headers="r2c1- | + | | headers="r2c1-t9 r1c2-t9" align="left" | |
An array of cache indexes | An array of cache indexes | ||
− | | headers="r2c1- | + | | headers="r2c1-t9 r1c3-t9" align="left" | <br /> |
|} | |} | ||
<br /> | <br /> | ||
− | <span id=" | + | <span id="sthref47"></span> |
''' ''' | ''' ''' | ||
Line 71: | Line 73: | ||
===Usage=== | ===Usage=== | ||
− | + | <span id="sthref48"></span> | |
− | + | ||
− | <span id=" | + | |
''' ''' | ''' ''' | ||
Line 79: | Line 79: | ||
===Examples=== | ===Examples=== | ||
− | See [[EclipseLink/UserGuide/JPA/a_cacheindex|"@CacheIndex"]] for examples of using the <code>@CacheIndexes</code> annotation. | + | See [[EclipseLink/UserGuide/JPA/2.4/a_cacheindex|"@CacheIndex"]] for examples of using the <code>@CacheIndexes</code> annotation. |
− | <span id=" | + | <span id="sthref49"></span> |
''' ''' | ''' ''' | ||
Line 89: | Line 89: | ||
For more information, see: | For more information, see: | ||
− | * [[EclipseLink/UserGuide/JPA/a_cacheindex|"@CacheIndex"]] | + | * [[EclipseLink/UserGuide/JPA/2.4/a_cacheindex|"@CacheIndex"]] |
+ | |||
+ | <span id="footerspace"> </span> | ||
---- | ---- | ||
Line 96: | Line 98: | ||
|- | |- | ||
| valign="bottom" | | | valign="bottom" | | ||
− | {| width=" | + | {| width="165" |
|- | |- | ||
| | | | ||
| align="center" | | | align="center" | | ||
− | [[EclipseLink/UserGuide/JPA/a_cacheindex|<span class=" | + | [[EclipseLink/UserGuide/JPA/2.4/a_cacheindex| Previous ]]<span class="previouslink">[[Image:Elug_previous_icon.png|Previous]]</span> |
| align="center" | | | align="center" | | ||
− | [[EclipseLink/UserGuide/JPA/a_cacheinterceptor|Next | + | [[EclipseLink/UserGuide/JPA/2.4/a_cacheinterceptor| Next ]][[Image:Elug_next_icon.png|Next]] |
|} | |} | ||
| width="34%" align="center" | | | width="34%" align="center" | | ||
− | [[Image:Eclipselink-logo.gif|150px|EclispeLink]]<br />[http://www.eclipse.org/eclipselink/ EclipseLink Home]<br /> | + | [[Image:Eclipselink-logo.gif|150px|EclispeLink]]<br />[[Image:Elug_home_icon.png|EclipseLink logo]] [http://www.eclipse.org/eclipselink/ EclipseLink Home] • [[Image:Elug_pdf.png|PDF]] PDF (coming soon)<br /> |
| align="right" valign="bottom" | | | align="right" valign="bottom" | | ||
{| class="simple oac_no_warn" width="225" | {| class="simple oac_no_warn" width="225" | ||
| | | | ||
| align="center" valign="top" | | | align="center" valign="top" | | ||
− | [http://www.google.com/cse/home?cx=016171230611334810008:y5kxq4rqd8s&hl=en Search] | + | [[Image:Elug_Magnifier.png|Search]][http://www.google.com/cse/home?cx=016171230611334810008:y5kxq4rqd8s&hl=en Search] |
| align="center" valign="top" | | | align="center" valign="top" | | ||
− | [[EclipseLink/UserGuide/JPA/toc| Contents]] | + | [[Image:Elug_guide_icon.png|Contents]][[EclipseLink/UserGuide/JPA/2.4/toc| Contents]] |
|} | |} | ||
|} | |} |
Revision as of 14:10, 19 June 2012
Java Persistence API (JPA) Extensions Reference for EclipseLink, 2.4.x
|
@CacheIndexes
Use @CacheIndexes
to define a set of @CacheIndex
on an entity.
Annotation Elements
Table 2-6 describes this annotation's elements.
Table 2-6 @CacheIndexes Annotation Elements
Annotation Element | Description | Default |
---|---|---|
|
An array of cache indexes |
|
Usage
Examples
See "@CacheIndex" for examples of using the @CacheIndexes
annotation.
See Also
For more information, see:
|
|
|