Difference between revisions of "EclipseLink/UserGuide/JPA/Advanced JPA Development/Schema Generation/Index"
< EclipseLink | UserGuide | JPA | Advanced JPA Development | Schema Generation
Line 6: | Line 6: | ||
=@Index Annotationa and <index> XML= | =@Index Annotationa and <index> XML= | ||
− | . | + | Use the @Index annotation in code or the <index> element in orm.xml to define an index when generating DDL. The index can be defined on a Entity class or on an attribute. |
+ | |||
{{EclipseLink_JPA | {{EclipseLink_JPA | ||
|previous =[[EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Schema_Generation/CascadeOnDelete|@CascadeOnDelete]] | |previous =[[EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Schema_Generation/CascadeOnDelete|@CascadeOnDelete]] |
Revision as of 15:51, 13 January 2011
EclipseLink JPA
EclipseLink | |
Website | |
Download | |
Community | |
Mailing List • Forums • IRC • mattermost | |
Issues | |
Open • Help Wanted • Bug Day | |
Contribute | |
Browse Source |
@Index Annotationa and <index> XML
Use the @Index annotation in code or the <index> element in orm.xml to define an index when generating DDL. The index can be defined on a Entity class or on an attribute.