Top Description Methods
org.hibernate.annotations

public @Interface ListIndexBase

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

Specifies the base value for the order column of a persistent list or array, that is, the order column value of the first element of the list or array.

By default, the base value for an order column is zero, as required by JPA.

This annotation is usually used in conjunction with the JPA-defined jakarta.persistence.OrderColumn.

Author
Steve Ebersole
See Also
jakarta.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.