Skip to content

Commit 6d0549b

Browse files
committed
HHH-9772 - Add @retention( RUNTIME) so ListIndexBase annotation is available to AnnotationBinder
1 parent d46bfb3 commit 6d0549b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hibernate-core/src/main/java/org/hibernate/annotations/ListIndexBase.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
*/
77
package org.hibernate.annotations;
88

9+
import java.lang.annotation.Retention;
10+
import java.lang.annotation.RetentionPolicy;
11+
12+
import static java.lang.annotation.RetentionPolicy.RUNTIME;
13+
914
/**
1015
* Defines the start index value for a list index as stored on the database. This base is subtracted from the
1116
* incoming database value on reads to determine the List position; it is added to the List position index when
@@ -19,6 +24,7 @@
1924
*
2025
* @author Steve Ebersole
2126
*/
27+
@Retention( RUNTIME )
2228
public @interface ListIndexBase {
2329
/**
2430
* The list index base. Default is 0.

0 commit comments

Comments
 (0)