org.hibernate.annotations
Annotation Type Proxy


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Proxy

Lazy and proxy configuration of a particular class


Optional Element Summary
 boolean lazy
          Whether this class is lazy or not (default to true)
 Class proxyClass
          Proxy class or interface used.
 

lazy

public abstract boolean lazy
Whether this class is lazy or not (default to true)

Default:
true

proxyClass

public abstract Class proxyClass
Proxy class or interface used. Default entity class name.

Default:
void.class


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.