Package org.hibernate.annotations
Annotation Type ListIndexBase
-
@Retention(RUNTIME) public @interface ListIndexBaseDefines 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 withOrderColumn.- See Also:
OrderColumn
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intvalueThe list index base.
-