Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/JPA/2.4/a cacheindexes"

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="144" align="right" valign="bottom" |
+
| 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]]
+
&nbsp;&nbsp;&nbsp;[[Image:Elug_guide_icon.png|Contents]][[EclipseLink/UserGuide/JPA/2.4/toc| Contents]]
 
|}
 
|}
 
|}
 
|}
Line 22: Line 22:
 
----
 
----
  
{| width="150"
+
{| width="165"
 
| align="center" |
 
| align="center" |
[[EclipseLink/UserGuide/JPA/a_cacheindex|<span class="el_previouslink" style="background: url(&#39;http://wiki.eclipse.org/images/3/3d/Elug_previous_icon.png&#39;) no-repeat left center; padding-left: 20px"> </span>&lt;- Previous]]
+
[[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 -&gt;<span class="el_nextlink"> </span>]]
+
[[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="sthref48"></span>
+
<span id="sthref45"></span>
  
 
''' '''
 
''' '''
Line 44: Line 46:
 
===Annotation Elements===
 
===Annotation Elements===
  
[[#CIHJDAHF|Table 2-1]] describes this annotation's elements.
+
[[#CIHJDAHF|Table 2-6]] describes this annotation's elements.
  
<span id="sthref49"></span><span id="CIHJDAHF"></span>
+
<span id="sthref46"></span><span id="CIHJDAHF"></span>
  
'''''Table 2-1 @CacheIndexes Annotation Elements'''''
+
'''''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-t2" align="left" valign="bottom" | '''Annotation Element'''
+
! id="r1c1-t9" align="left" valign="bottom" | '''Annotation Element'''
! id="r1c2-t2" align="left" valign="bottom" | '''Description'''
+
! id="r1c2-t9" align="left" valign="bottom" | '''Description'''
! id="r1c3-t2" align="left" valign="bottom" | '''Default'''
+
! id="r1c3-t9" align="left" valign="bottom" | '''Default'''
 
|- align="left" valign="top"
 
|- align="left" valign="top"
| id="r2c1-t2" headers="r1c1-t2" align="left" |
+
| id="r2c1-t9" headers="r1c1-t9" align="left" |
 
<code>CacheIndex[]</code>
 
<code>CacheIndex[]</code>
| headers="r2c1-t2 r1c2-t2" align="left" |
+
| headers="r2c1-t9 r1c2-t9" align="left" |
 
An array of cache indexes
 
An array of cache indexes
| headers="r2c1-t2 r1c3-t2" align="left" | <br />
+
| headers="r2c1-t9 r1c3-t9" align="left" | <br />
 
|}
 
|}
  
 
<br />
 
<br />
  
<span id="sthref50"></span>
+
<span id="sthref47"></span>
  
 
''' '''
 
''' '''
Line 71: Line 73:
 
===Usage===
 
===Usage===
  
Para.
+
<span id="sthref48"></span>
 
+
<span id="sthref51"></span>
+
  
 
''' '''
 
''' '''
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="sthref52"></span>
+
<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="150"
+
{| width="165"
 
|-
 
|-
 
|
 
|
 
| align="center" |
 
| align="center" |
[[EclipseLink/UserGuide/JPA/a_cacheindex|<span class="el_previouslink" style="background: url(&#39;http://wiki.eclipse.org/images/3/3d/Elug_previous_icon.png&#39;) no-repeat left center; padding-left: 20px"> </span>&lt;- Previous]]
+
[[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 -&gt;<span class="el_nextlink"> </span>]]
+
[[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]]
+
&nbsp;&nbsp;&nbsp;[[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

SearchSearch

   Contents Contents


Previous Previous

Next Next

WarningBeta Draft: 2012-06-18


@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

CacheIndex[]

An array of cache indexes



Usage

Examples

See "@CacheIndex" for examples of using the @CacheIndexes annotation.

See Also

For more information, see:

 


Previous Previous

Next Next

EclispeLink
EclipseLink logo EclipseLink Home • PDF PDF (coming soon)

SearchSearch

   Contents Contents

Back to the top