org.hibernate.annotations
Annotation Type CollectionOfElements


Deprecated. use @ElementCollection

@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
@Deprecated
public @interface CollectionOfElements

Annotation used to mark a collection as a collection of elements or a collection of embedded objects

Author:
Emmanuel Bernard

Optional Element Summary
 FetchType fetch
          Deprecated.  
 Class targetElement
          Deprecated. Represent the element class in the collection Only useful if the collection does not use generics
 

targetElement

public abstract Class targetElement
Deprecated. 
Represent the element class in the collection Only useful if the collection does not use generics

Default:
void.class

fetch

public abstract FetchType fetch
Deprecated. 
Default:
javax.persistence.FetchType.LAZY


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