mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2731 - Change ebean-querybean annotations from Retention RUNTIME to CLASS
This commit is contained in:
@@ -9,10 +9,9 @@ import java.lang.annotation.Target;
|
||||
* Used to denote a query bean that has already been enhanced.
|
||||
* <p>
|
||||
* Used by the agent to detect already enhanced type query beans to skip enhancement processing.
|
||||
* </p>
|
||||
*/
|
||||
@Target({ ElementType.TYPE })
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface AlreadyEnhancedMarker {
|
||||
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.lang.annotation.Target;
|
||||
* This is code generated by the query bean generator (annotation processor).
|
||||
*/
|
||||
@Target({ ElementType.TYPE })
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface Generated {
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,10 +9,9 @@ import java.lang.annotation.Target;
|
||||
* Used to denote a type query bean.
|
||||
* <p>
|
||||
* These are typically generated beans used to build queries using type safe query criteria.
|
||||
* </p>
|
||||
*/
|
||||
@Target({ ElementType.TYPE })
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface TypeQueryBean {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user