HHH-9772 - Add @Retention( RUNTIME) so ListIndexBase annotation is available to AnnotationBinder

This commit is contained in:
Andrea Boriero 2015-05-19 19:15:07 +01:00
parent d9ab6ec42a
commit 517b392a54

View File

@ -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.