Package org.hibernate.annotations
Annotation 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 ElementsModifier and TypeOptional ElementDescriptionboolean
Deprecated.Whether this class may be proxied.Class<?>
Deprecated.Proxy class or interface used.
-
Element Details
-
lazy
boolean lazyDeprecated.Whether this class may be proxied. Default to true.- Default:
- true
-
proxyClass
Class<?> proxyClassDeprecated.Proxy class or interface used. Default is to the annotated entity class itself.- Default:
- void.class
-