Top Description Methods
org.hibernate.annotations

public @Interface ListIndexBase

extends Annotation
Annotations
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .RetentionPolicy

Defines the start index value for a list index as stored on the database. This base is subtracted from the incoming database value on reads to determine the List position; it is added to the List position index when writing to the database. By default list indexes are stored starting at zero. Generally used in conjunction with javax.persistence.OrderColumn.
Author
Steve Ebersole
See Also
javax.persistence.OrderColumn

Method Summary

Modifier and TypeMethod and Description
public int
value()

The list index base.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public int value()

The list index base. Default is 0.