Top Description Methods
org.hibernate.annotations

public @Interface Index

extends Annotation
Annotations
@Target:FIELD, METHOD
@Retention:RUNTIME
@Deprecated
Imports
java.lang.annotation.Retention, .Target

Deprecated

Using javax.persistence.Index instead.

Define a DB index.
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public String[]
columnNames()

The column(s) that are indexed.

public String
name()

The index name.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

columnNamesback to summary
public String[] columnNames()

The column(s) that are indexed.

nameback to summary
public String name()

The index name.