Top Description Methods
org.hibernate.annotations

public @Interface IndexColumn

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

Deprecated

Prefer the standard JPA javax.persistence.OrderColumn annotation and the Hibernate specific ListIndexBase (for replacing base()).

Describe an index column of a List.
Author
Matthew Inger

Method Summary

Modifier and TypeMethod and Description
public int
base()

The starting index value.

public String
columnDefinition()

An explicit column definition.

public String
name()

The column name.

public boolean
nullable()

Is the column nullable?

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

baseback to summary
public int base()

The starting index value. Zero (0) by default, since Lists indexes start at zero (0).

columnDefinitionback to summary
public String columnDefinition()

An explicit column definition.

nameback to summary
public String name()

The column name.

nullableback to summary
public boolean nullable()

Is the column nullable?