Skip to content

Commit

Permalink
HHH-9772 - Add @retention( RUNTIME) so ListIndexBase annotation is av…
Browse files Browse the repository at this point in the history
…ailable to AnnotationBinder
  • Loading branch information
dreab8 committed May 19, 2015
1 parent d9ab6ec commit 517b392
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -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
Expand All @@ -36,6 +41,7 @@
*
* @author Steve Ebersole
*/
@Retention( RUNTIME )
public @interface ListIndexBase {
/**
* The list index base. Default is 0.
Expand Down

0 comments on commit 517b392

Please sign in to comment.