Annotation Interface 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
    Deprecated.
    Whether this class may be proxied.
    Deprecated.
    Proxy class or interface used.
  • Element Details

    • lazy

      boolean lazy
      Deprecated.
      Whether this class may be proxied. Default to true.
      Default:
      true
    • proxyClass

      Class<?> proxyClass
      Deprecated.
      Proxy class or interface used. Default is to the annotated entity class itself.
      Default:
      void.class