|
|
Line 1: |
Line 1: |
− | {{DISPLAYTITLE:TOC}}
| + | #REDIRECT [[EclipseLink/UserGuide/JPA/2.4/toc]] |
− | {{EclipseLink_TLJPA
| + | |
− | |Please do not edit this page. Your edits will be overwritten during the next update. Instead, please use Bugzilla to log documentation requests.
| + | |
− | |info=n
| + | |
− | |toc=n
| + | |
− | |category=JPA
| + | |
− | |release=2.4.x
| + | |
− | |title=TLJPA
| + | |
− | |older=n}}
| + | |
− | <span class="metaname"> </span>
| + | |
− | | + | |
− | {| class="simple oac_no_warn" width="100%"
| + | |
− | | align="left" valign="top" |
| + | |
− | | width="185" align="right" valign="bottom" |
| + | |
− | {| class="simple oac_no_warn" width="100%"
| + | |
− | |
| + | |
− | | align="center" valign="top" |
| + | |
− | [[Image:Elug_Magnifier.png|Search]][http://www.google.com/cse/home?cx=016171230611334810008:y5kxq4rqd8s&hl=en Search]
| + | |
− | | align="center" valign="top" |
| + | |
− | [[Image:Elug_guide_icon.png|Contents]][[EclipseLink/UserGuide/JPA/2.4/toc| Contents]]
| + | |
− | |}
| + | |
− | |}
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | {| width="165"
| + | |
− | | align="center" |
| + | |
− | [[EclipseLink/UserGuide/JPA/2.4/toc| Previous ]]<span class="previouslink">[[Image:Elug_previous_icon.png|Previous]]</span>
| + | |
− | | align="center" |
| + | |
− | [[EclipseLink/UserGuide/JPA/2.4/title| Next ]][[Image:Elug_next_icon.png|Next]]
| + | |
− | |
| + | |
− | |}
| + | |
− | | + | |
− | =List of Examples=
| + | |
− | | + | |
− | [[Image:Elug_draft_icon.png|Warning]]Beta Draft: 2012-06-26
| + | |
− | | + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_additionalcriteria|2-1 Using @AdditionalCriteria Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_additionalcriteria|2-2 Using <additional-criteria> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_additionalcriteria|2-3 Multitenancy Example 1]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_additionalcriteria|2-4 Multitenancy Example 2]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_array|2-5 Using @Array with Oracle VARRAY]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_array|2-6 Using @Array with Postgress Struct]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_batchfetch|2-7 Using JOIN BatchFetch Type]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_batchfetch|2-8 Using EXISTS BatchFetch Type]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_batchfetch|2-9 Using IN BatchFetch Type]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_cache|2-10 Using @Cache Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_cache|2-11 Using <cache> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_cache|2-12 Specifying Caching in persistence.xml]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_cacheindex|2-13 Using @CacheIndex Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_cacheindex|2-14 Using <cache-index> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_cacheindex|2-15 Caching an Index Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_cacheinterceptor|2-16 Using @CacheInterceptor Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_cascadeondelete|2-17 Using @CascadeOnDelete Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_cascadeondelete|2-18 Using <cascade-on-delete> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_changetracking|2-19 Using @ChangeTracking Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_changetracking|2-20 Specifying Change Tracking in persistence.xml]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_classextractor|2-21 Using @ClassExtractor Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_clonecopypolicy|2-22 Using @CloneCopyPolicy Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_clonecopypolicy|2-23 Using <clone-copy-policy> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_compositemember|2-24 Using @CompositeMember Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_compositemember|2-25 Using <composite-member> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_conversionvalue|2-26 Using @ConversionValue Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_conversionvalue|2-27 Using <conversion-value> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_convert|2-28 Using the @Convert Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_converter|2-29 Using the @Converter Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_copypolicy|2-30 Using @CopyPolicy Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_customizer|2-31 Using @Customizer Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_fetchattribute|2-32 Using @FetchAttribute Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_fetchgroup|2-33 Using @FetchGroup Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_fetchgroup|2-34 Using <fetch-group> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_fetchgroup|2-35 Using a Named Fetch Group on a Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_fetchgroups|2-36 Specifying Fetch Groups in persistence.xml]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_index|2-37 Using @Index Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_index|2-38 Using <index> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_instantiationcopypolicy|2-39 Using @InstantiationCopyPolicy Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_instantiationcopypolicy|2-40 Using <instantiation-copy-policy> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_joinfetch|2-41 Using @JoinFetch Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_mapkeyconvert|2-42 Using @MapKeyConvert Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_multitenant|2-43 Using @Multitenant Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_multitenant|2-44 Using <multitenant> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_multitenant|2-45 Example Using @TenantTableDiscriminator]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_multitenant|2-46 Example Using <tenant-table-discriminator>]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_multitenant|2-47 VPD Multitenancy]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_mutable|2-48 Using @Mutable Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_mutable|2-49 Specifying Mutable Mappings in persistence.xml]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_namedstoredprocedurequery|2-50 Using @NamedStoredProcedureQuery Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_noncacheable|2-51 Using @Noncacheable Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_noncacheable|2-52 Using <noncacheable> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_nosql|2-53 Using @NoSql Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_objecttypeconverter|2-54 Using the @ObjectTypeConverter Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_objecttypeconverter|2-55 Using <object-type-converter> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_optimisticlocking|2-56 Using @OptimisticLocking Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_optimisticlocking|2-57 Using <optimistic-locking> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_ordercorrection|2-58 Using @OrderCorrection Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_partitioned|2-59 Using Partitioning]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_partitioning|2-60 Using Partitioning]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_partitioning|2-61 Using @RangePartitioning]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_privateowned|2-62 Using @PrivateOwned Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_queryredirectors|2-63 Using @QueryRedirectors Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_returninsert|2-64 Using @ReturnInsert Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_returninsert|2-65 Using <return-insert> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_returnupdate|2-66 Using @ReturnUpdate Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_returnupdate|2-67 Using <return-update> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_struct|2-68 Using @Struct Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_struct|2-69 Using <struct> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_structconverter|2-70 Using @StructConverter Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_structconverters|2-71 Using @StructConverters Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_structconverters|2-72 Using <struct-converters> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_structure|2-73 Using @Structure Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_structure|2-74 Using <structure> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_tenantdiscriminatorcolumn|2-75 Using @TenantDiscriminatorColumn Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_tenantdiscriminatorcolumn|2-76 Using <tenant-discriminator-column> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_tenanttablediscriminator|2-77 @TenantTableDiscriminator Example 1]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_tenanttablediscriminator|2-78 Using <tenant-table-discriminator> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_transformation|2-79 Using @Transformation Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_transformation|2-80 Using <transformation> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_typeconverter|2-81 Using the @TypeConverter Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_typeconverters|2-82 Using @TypeConverters Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_uuidgenerator|2-83 Using @UuidGenerator Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_uuidgenerator|2-84 Using <generated-value> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_variableonetoone|2-85 Using @VariableOneToOne Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_variableonetoone|2-86 Using <variable-one-to-one> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_virtualaccessmethods|2-87 Using @VirtualAccessMethods Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/a_virtualaccessmethods|2-88 Using <access> and <access-methods> XML]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_cast|3-1 Using CAST EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_column|3-2 Using COLUMN EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_column|3-3 Using COLUMN with a Primitive Column]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_except|3-4 Using EXCEPT EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_extract|3-5 Using EXTRACT EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_func|3-6 Using FUNCTION EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_func|3-7 Using FUNCTION EQL Oracle Spatial examples]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_intersect|3-8 Using INTERSECT EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_on|3-9 Using ON Clause EQ]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_operator|3-10 Using OPERATOR EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_regexp|3-11 Using REGEXP EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_sql|3-12 Using SQL EQ]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_table|3-13 Using TABLE EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_treat|3-14 Using TREAT EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/j_union|3-15 Using UNION EQL]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_batch|4-1 Using batch in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_batch|4-2 Using batch in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_cacheusage|4-3 Using cache-usage in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_cacheusage|4-4 Using cache-usage in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_bindparameters|4-5 Using bind-parameters in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_bindparameters|4-6 Using bind-parameters in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_bindparameters|4-7 Specifying Parameter Binding Persistence Unit Property]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_jdbc_fetch_size|4-8 Using jdbc.fetch-size in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_jdbc_fetch_size|4-9 Using jdbc.fetch-size in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_jdbc_max_rows|4-10 Using jdbc.max-rows in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_jdbc_max_rows|4-11 Using jdbc.max-rows in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_jdbc_timeout|4-12 Using cache-usage in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_jdbc_timeout|4-13 Using cache-usage in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_join_fetch|4-14 Using join-fetch in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_join_fetch|4-15 Using join-fetch in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_maintain_cache|4-16 Using maintain-cache in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_maintain_cache|4-17 Using maintain-cache in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_pessimistic_lock|4-18 Using pessimistic-lock in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_pessimistic_lock|4-19 Using pessimistic-lock in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_querytype|4-20 Using query-type in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_querytype|4-21 Using query-type in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_read_only|4-22 Using read-only in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_read_only|4-23 Using read-only in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_refresh|4-24 Using refresh in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_refresh|4-25 Using refresh in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_refresh_cache|4-26 Using refresh.cascade in a JPA Query]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/q_refresh_cache|4-27 Using refresh.cascade in a @QueryHint Annotation]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/schema001|5-1 Example 1]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/schema001|5-2 Example 2]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/schema001|5-3 Example 3]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/schema001|5-4 Example 4]]
| + | |
− | * [[EclipseLink/UserGuide/JPA/2.4/schema001|5-5 Example 5]]
| + | |
− | | + | |
− | <span id="footerspace"> </span>
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | {| class="simple oac_no_warn" width="100%"
| + | |
− | |-
| + | |
− | | valign="bottom" |
| + | |
− | {| width="165"
| + | |
− | |-
| + | |
− | |
| + | |
− | | align="center" |
| + | |
− | [[EclipseLink/UserGuide/JPA/2.4/toc| Previous ]]<span class="previouslink">[[Image:Elug_previous_icon.png|Previous]]</span>
| + | |
− | | align="center" |
| + | |
− | [[EclipseLink/UserGuide/JPA/2.4/title| Next ]][[Image:Elug_next_icon.png|Next]]
| + | |
− | |}
| + | |
− | | width="34%" align="center" |
| + | |
− | [[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" |
| + | |
− | {| class="simple oac_no_warn" width="225"
| + | |
− | |
| + | |
− | | align="center" valign="top" |
| + | |
− | [[Image:Elug_Magnifier.png|Search]][http://www.google.com/cse/home?cx=016171230611334810008:y5kxq4rqd8s&hl=en Search]
| + | |
− | | align="center" valign="top" |
| + | |
− | [[Image:Elug_guide_icon.png|Contents]][[EclipseLink/UserGuide/JPA/2.4/toc| Contents]]
| + | |
− | |}
| + | |
− | |}
| + | |