Package org.hibernate.annotations
Annotation Type Proxy
-
@Deprecated(since="6.2") @Target(TYPE) @Retention(RUNTIME) public @interface Proxy
Deprecated.This annotation is almost never useful.Allows the proxy class of an entity class to be explicitly specified.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
lazy
Deprecated.Whether this class may be proxied.Class<?>
proxyClass
Deprecated.Proxy class or interface used.
-
-
-
-
proxyClass
Class<?> proxyClass
Deprecated.Proxy class or interface used. Default is to the annotated entity class itself.- Default:
- void.class
-
-