mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 00:55:16 +00:00
HHH-9772 - Add @Retention( RUNTIME) so ListIndexBase annotation is available to AnnotationBinder
This commit is contained in:
parent
d9ab6ec42a
commit
517b392a54
@ -23,6 +23,11 @@
|
||||
*/
|
||||
package org.hibernate.annotations;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
|
||||
/**
|
||||
* 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
|
||||
@ -36,6 +41,7 @@
|
||||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
@Retention( RUNTIME )
|
||||
public @interface ListIndexBase {
|
||||
/**
|
||||
* The list index base. Default is 0.
|
||||
|
Loading…
x
Reference in New Issue
Block a user