Top Description Methods
org.hibernate.annotations

public @Interface Proxy

extends Annotation
Annotations
@Deprecated
since:6.2
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

Deprecated

since 6.2.

This annotation is almost never useful.

Allows the proxy class of an entity class to be explicitly specified.
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public boolean
lazy()

Whether this class may be proxied.

public Class<?>
proxyClass()

Proxy class or interface used.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

lazyback to summary
public boolean lazy()

Whether this class may be proxied. Default to true.

proxyClassback to summary
public Class<?> proxyClass()

Proxy class or interface used. Default is to the annotated entity class itself.