use wildcard instead of raw type in annotation members
This commit is contained in:
parent
aeee127e59
commit
20e855acf1
|
@ -18,7 +18,7 @@ public @interface MetaValue {
|
|||
/**
|
||||
* The entity type.
|
||||
*/
|
||||
Class targetEntity();
|
||||
Class<?> targetEntity();
|
||||
|
||||
/**
|
||||
* The corresponding discriminator value stored in database.
|
||||
|
|
|
@ -38,7 +38,7 @@ public @interface NamedNativeQuery {
|
|||
/**
|
||||
* The result Class. Should not be used in conjunction with {@link #resultSetMapping()}
|
||||
*/
|
||||
Class resultClass() default void.class;
|
||||
Class<?> resultClass() default void.class;
|
||||
|
||||
/**
|
||||
* The name of a SQLResultSetMapping to use. Should not be used in conjunction with {@link #resultClass()}.
|
||||
|
|
|
@ -28,5 +28,5 @@ public @interface Proxy {
|
|||
/**
|
||||
* Proxy class or interface used. Default is to use the entity class name.
|
||||
*/
|
||||
Class proxyClass() default void.class;
|
||||
Class<?> proxyClass() default void.class;
|
||||
}
|
||||
|
|
|
@ -34,5 +34,5 @@ public @interface SqlFragmentAlias {
|
|||
/**
|
||||
* The entity class associated with the alias.
|
||||
*/
|
||||
Class entity() default void.class;
|
||||
Class<?> entity() default void.class;
|
||||
}
|
||||
|
|
|
@ -21,5 +21,5 @@ public @interface Target {
|
|||
/**
|
||||
* The target entity type.
|
||||
*/
|
||||
Class value();
|
||||
Class<?> value();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue