Fast Object Database for Java - with JPA/JDO support

ManyToMany.fetch - JPA annotation element

Annotation Element
javax.persistence.ManyToMany
FetchType fetch

(Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime.
Default value:
javax.persistence.FetchType.LAZY
Since:
JPA 1.0